diff options
author | Stef Walter <stefw@gnome.org> | 2013-04-05 19:17:25 +0200 |
---|---|---|
committer | Stef Walter <stefw@gnome.org> | 2013-05-28 11:25:49 +0200 |
commit | 6132376b31f6d8c27fa63b219e7330f4489de6cc (patch) | |
tree | 866feefc8b037a485fb7a9cb6cdeb1f3dcdd07f5 | |
parent | 96771f49dc945800ae28c77ff407753cbb995c7f (diff) |
Force Mac OS shared library extension to .so
Darwin and libtool seem confused about what shared library
extension they actually use.
https://bugs.freedesktop.org/show_bug.cgi?id=57714
-rw-r--r-- | configure.ac | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index b09e122..aa3dfa1 100644 --- a/configure.ac +++ b/configure.ac @@ -428,7 +428,17 @@ echo $PACKAGE_VERSION | tr '.' ' ' | while read major minor unused; do break done -eval SHLEXT=$shrext_cmds +case "$host" in +*-*-darwin*) + # It seems like libtool lies about this see: + # https://bugs.freedesktop.org/show_bug.cgi?id=57714 + SHLEXT='.so' + ;; +*) + eval SHLEXT=$shrext_cmds + ;; +esac + AC_DEFINE_UNQUOTED(SHLEXT, ["$SHLEXT"], [File extension for shared libraries]) AC_SUBST(SHLEXT) |