[gobject-introspection] Adjust dlopened library name on OpenBSD so we always pick the right one.



commit 25a19e13af0c716fde6d35fb0531aeceedb9a9f8
Author: Jasper Lievisse Adriaanse <jasper humppa nl>
Date:   Fri Sep 30 08:59:12 2011 +0200

    Adjust dlopened library name on OpenBSD so we always pick the right one.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=660523

 configure.ac |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index cbee79e..f93e7c5 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"
       ;;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]