diff -ur exiv2-0.24-orig/config/configure.ac exiv2-0.24/config/configure.ac
--- exiv2-0.24-orig/config/configure.ac	2013-07-24 02:47:31.008126464 +0000
+++ exiv2-0.24/config/configure.ac	2014-12-06 10:53:18.091488256 +0000
@@ -212,6 +212,8 @@
 case "$host_os" in
 *mingw* | *cygwin*)
     LDFLAGS="$LDFLAGS -no-undefined -lpsapi" ;;
+*beos* | *haiku*)
+	;;
 *)
     LDFLAGS="$LDFLAGS -ldl" ;;
 esac
