diff options
author | Ryan Schmidt <nettle-2011@ryandesign.com> | 2011-10-18 21:25:48 +0200 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2011-10-18 21:25:48 +0200 |
commit | 69d39d6773138c8bcb4f1b0a56f5849520b7e1d7 (patch) | |
tree | c933a75056f9e36872969c2fe4a50decc081292c /configure.ac | |
parent | ae3e68e19826cd8906e28800868d69dcea5123b8 (diff) | |
download | nettle-69d39d6773138c8bcb4f1b0a56f5849520b7e1d7.tar.gz |
Improved setup för darwin shared libraries. Patch contributed by Ryan
Schmidt.
Rev: nettle/ChangeLog:1.226
Rev: nettle/configure.ac:1.43
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/configure.ac b/configure.ac index b48a520a..665e671d 100644 --- a/configure.ac +++ b/configure.ac @@ -281,16 +281,16 @@ case "$host_os" in ;; darwin*) LIBNETTLE_FORLINK=libnettle.dylib - LIBNETTLE_SONAME='$(LIBNETTLE_FORLINK).$(LIBNETTLE_MAJOR)' - LIBNETTLE_FILE='$(LIBNETTLE_SONAME).$(LIBNETTLE_MINOR)' - LIBNETTLE_LINK='$(CC) -dynamiclib $(LDFLAGS)' + LIBNETTLE_SONAME='libnettle.$(LIBNETTLE_MAJOR).dylib' + LIBNETTLE_FILE='libnettle.$(LIBNETTLE_MAJOR).$(LIBNETTLE_MINOR).dylib' + LIBNETTLE_LINK='$(CC) -dynamiclib $(LDFLAGS) -install_name ${libdir}/$(LIBNETTLE_SONAME) -compatibility_version $(LIBNETTLE_MAJOR) -current_version $(LIBNETTLE_MAJOR).$(LIBNETTLE_MINOR)' LIBNETTLE_LIBS='' LIBHOGWEED_FORLINK=libhogweed.dylib - LIBHOGWEED_SONAME='$(LIBHOGWEED_FORLINK).$(LIBHOGWEED_MAJOR)' - LIBHOGWEED_FILE='$(LIBHOGWEED_SONAME).$(LIBHOGWEED_MINOR)' - LIBHOGWEED_LINK='$(CC) -dynamiclib $(LDFLAGS)' - LIBHOGWEED_LIBS='' + LIBHOGWEED_SONAME='libhogweed.$(LIBHOGWEED_MAJOR).dylib' + LIBHOGWEED_FILE='libhogweed.$(LIBHOGWEED_MAJOR).$(LIBHOGWEED_MINOR).dylib' + LIBHOGWEED_LINK='$(CC) -dynamiclib -L. $(LDFLAGS) -install_name ${libdir}/$(LIBHOGWEED_SONAME) -compatibility_version $(LIBHOGWEED_MAJOR) -current_version $(LIBHOGWEED_MAJOR).$(LIBHOGWEED_MINOR)' + LIBHOGWEED_LIBS='-lnettle -gmp' ;; solaris*) # Sun's ld uses -h to set the soname, and this option is passed |