$OpenBSD: patch-configure_ac,v 1.3 2011/05/16 19:39:18 kili Exp $ --- configure.ac.orig Fri Apr 29 17:50:22 2011 +++ configure.ac Fri Apr 29 17:51:09 2011 @@ -767,7 +767,7 @@ if test "x$cairo_pdf" = "xyes"; then fi dnl Shouldn't we test for libpng and libz? -INKSCAPE_LIBS="$INKSCAPE_LIBS -lpng -lz -lX11 -lxml2 -ldl" +INKSCAPE_LIBS="$INKSCAPE_LIBS -lpng -lz -lX11 -lxml2 $lt_cv_dlopen_libs" if test "x$openmp_ok" = "xyes"; then INKSCAPE_LIBS="$INKSCAPE_LIBS -lgomp" fi