Commit 69d39d67 authored by Ryan Schmidt's avatar Ryan Schmidt Committed by Niels Möller
Browse files

Improved setup för darwin shared libraries. Patch contributed by Ryan

Schmidt.

Rev: nettle/ChangeLog:1.226
Rev: nettle/configure.ac:1.43
parent ae3e68e1
2011-10-18 Niels Mller <nisse@lysator.liu.se>
* configure.ac: Improved setup fr darwin shared libraries.
Patch contributed by Ryan Schmidt.
2011-10-03 Niels Mller <nisse@lysator.liu.se> 2011-10-03 Niels Mller <nisse@lysator.liu.se>
* x86_64/memxor.asm: Implemented sse2-loop. Configured at compile * x86_64/memxor.asm: Implemented sse2-loop. Configured at compile
......
...@@ -281,16 +281,16 @@ case "$host_os" in ...@@ -281,16 +281,16 @@ case "$host_os" in
;; ;;
darwin*) darwin*)
LIBNETTLE_FORLINK=libnettle.dylib LIBNETTLE_FORLINK=libnettle.dylib
LIBNETTLE_SONAME='$(LIBNETTLE_FORLINK).$(LIBNETTLE_MAJOR)' LIBNETTLE_SONAME='libnettle.$(LIBNETTLE_MAJOR).dylib'
LIBNETTLE_FILE='$(LIBNETTLE_SONAME).$(LIBNETTLE_MINOR)' LIBNETTLE_FILE='libnettle.$(LIBNETTLE_MAJOR).$(LIBNETTLE_MINOR).dylib'
LIBNETTLE_LINK='$(CC) -dynamiclib $(LDFLAGS)' LIBNETTLE_LINK='$(CC) -dynamiclib $(LDFLAGS) -install_name ${libdir}/$(LIBNETTLE_SONAME) -compatibility_version $(LIBNETTLE_MAJOR) -current_version $(LIBNETTLE_MAJOR).$(LIBNETTLE_MINOR)'
LIBNETTLE_LIBS='' LIBNETTLE_LIBS=''
LIBHOGWEED_FORLINK=libhogweed.dylib LIBHOGWEED_FORLINK=libhogweed.dylib
LIBHOGWEED_SONAME='$(LIBHOGWEED_FORLINK).$(LIBHOGWEED_MAJOR)' LIBHOGWEED_SONAME='libhogweed.$(LIBHOGWEED_MAJOR).dylib'
LIBHOGWEED_FILE='$(LIBHOGWEED_SONAME).$(LIBHOGWEED_MINOR)' LIBHOGWEED_FILE='libhogweed.$(LIBHOGWEED_MAJOR).$(LIBHOGWEED_MINOR).dylib'
LIBHOGWEED_LINK='$(CC) -dynamiclib $(LDFLAGS)' LIBHOGWEED_LINK='$(CC) -dynamiclib -L. $(LDFLAGS) -install_name ${libdir}/$(LIBHOGWEED_SONAME) -compatibility_version $(LIBHOGWEED_MAJOR) -current_version $(LIBHOGWEED_MAJOR).$(LIBHOGWEED_MINOR)'
LIBHOGWEED_LIBS='' LIBHOGWEED_LIBS='-lnettle -gmp'
;; ;;
solaris*) solaris*)
# Sun's ld uses -h to set the soname, and this option is passed # Sun's ld uses -h to set the soname, and this option is passed
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment