summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasper Lievisse Adriaanse <jasper@humppa.nl>2011-09-30 08:59:12 +0200
committerJasper Lievisse Adriaanse <jasper@humppa.nl>2011-09-30 20:09:40 +0200
commit25a19e13af0c716fde6d35fb0531aeceedb9a9f8 (patch)
tree669b16d601c8c54729029b2dd43a526dea6336e0
parente17c09749c23edbd928db19a8162484ddb6299b8 (diff)
downloadgobject-introspection-25a19e13af0c716fde6d35fb0531aeceedb9a9f8.tar.gz
Adjust dlopened library name on OpenBSD so we always pick the right one.
https://bugzilla.gnome.org/show_bug.cgi?id=660523
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index cbee79e8..f93e7c52 100644
--- a/configure.ac
+++ b/configure.ac
@@ -149,6 +149,9 @@ if test x$have_cairo_gobject = xyes; then
*-*-mingw*)
CAIRO_SHARED_LIBRARY="libcairo-gobject-2.dll"
;;
+ *-*-openbsd*)
+ CAIRO_SHARED_LIBRARY="libcairo-gobject.so"
+ ;;
*)
CAIRO_SHARED_LIBRARY="libcairo-gobject.so.2"
;;
@@ -162,6 +165,9 @@ elif test x$have_cairo = xyes; then
*-*-mingw*)
CAIRO_SHARED_LIBRARY="libcairo-2.dll"
;;
+ *-*-openbsd*)
+ CAIRO_SHARED_LIBRARY="libcairo.so"
+ ;;
*)
CAIRO_SHARED_LIBRARY="libcairo.so.2"
;;