[xmlsec] fix build on MacOSX (bug #680307)



commit 624ceec2d22a83045b024bd4dbc3a636b04f7d81
Author: Aleksey Sanin <aleksey aleksey com>
Date:   Fri May 23 13:48:50 2014 -0700

    fix build on MacOSX (bug #680307)

 configure.in |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/configure.in b/configure.in
index 35fdc79..317c1d6 100644
--- a/configure.in
+++ b/configure.in
@@ -102,7 +102,7 @@ else
   XMLSEC_SHLIBSFX="$shrext_cmds"
 fi
 case "${host}" in
-    *aix* )
+ *aix* )
        CFLAGS="${CFLAGS} -D_ALL_SOURCE"
        ;;
  *-*-mingw*)
@@ -118,6 +118,9 @@ case "${host}" in
        XMLSEC_EXTRA_LDFLAGS="-no-undefined"
        XMLSEC_CRYPTO_EXTRA_LDFLAGS="-no-undefined"
        ;;
+ *-*-darwin*)
+        XMLSEC_SHLIBSFX=".dylib"
+        ;;
 esac
 
 # To avoid problem with loading of a shared library (dlopen or equivalent)


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