[gobject-introspection] Bug 650622: Wrong suffix for CAIRO_SHARED_LIBRARY on OSX
- From: John Ralls <jralls src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] Bug 650622: Wrong suffix for CAIRO_SHARED_LIBRARY on OSX
- Date: Thu, 19 May 2011 18:29:51 +0000 (UTC)
commit cffbb2b7457f12b8128cb31e478b407b0d2dcdcd
Author: John Ralls <jralls ceridwen us>
Date: Thu May 19 11:27:18 2011 -0700
Bug 650622: Wrong suffix for CAIRO_SHARED_LIBRARY on OSX
configure.ac | 18 ++++++++++++++++--
1 files changed, 16 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index fccad9c..16db3a7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -137,10 +137,24 @@ if test x$have_cairo = xyes; then
fi
if test x$have_cairo_gobject = xyes; then
- CAIRO_SHARED_LIBRARY="libcairo-gobject.so.2"
+ case "$host" in
+ *-*-darwin*)
+ CAIRO_SHARED_LIBRARY="libcairo-gobject.2.dylib"
+ ;;
+ *)
+ CAIRO_SHARED_LIBRARY="libcairo-gobject.so.2"
+ ;;
+ esac
CAIRO_GIR_PACKAGE="cairo-gobject"
elif test x$have_cairo = xyes; then
- CAIRO_SHARED_LIBRARY="libcairo.so.2"
+ case "$host" in
+ *-*-darwin*)
+ CAIRO_SHARED_LIBRARY="libcairo.2.dylib"
+ ;;
+ *)
+ CAIRO_SHARED_LIBRARY="libcairo.so.2"
+ ;;
+ esac
CAIRO_GIR_PACKAGE="cairo"
fi
AC_SUBST(CAIRO_SHARED_LIBRARY)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]