From bebf371bb4b304b05e4263d60ba78078717126ae Mon Sep 17 00:00:00 2001
From: Grant Robinson <santiago@mr-r.net>
Date: Mon, 28 Aug 2006 16:08:38 +0200
Subject: [PATCH] *** empty log message ***

Rev: src/nettle/configure.ac:1.76
---
 configure.ac | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/configure.ac b/configure.ac
index e5892c4c..31c83bca 100644
--- a/configure.ac
+++ b/configure.ac
@@ -157,6 +157,13 @@ case "$host_os" in
     SHLIBLINK='$(CC) $(LDFLAGS) -shared -Wl,--out-implib=$(SHLIBFILE) -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--whole-archive'
     SHLIBLIBS='-Wl,--no-whole-archive $(LIBS)'
     ;;
+  darwin*)
+    SHLIBFORLINK=libnettle.dylib
+    SHLIBSONAME='$(SHLIBFORLINK).$(SHLIBMAJOR)'
+    SHLIBFILE='$(SHLIBSONAME).$(SHLIBMINOR)'
+    SHLIBLINK='$(CC) -dynamiclib $(LDFLAGS)'
+    # SHLIBLIBS=' -lgmp'
+    ;;
   *)
     SHLIBFORLINK=libnettle.so
     SHLIBSONAME='$(SHLIBFORLINK).$(SHLIBMAJOR)'
-- 
GitLab