Skip to content
Snippets Groups Projects
Commit 169282fe authored by Niels Möller's avatar Niels Möller
Browse files

(SHLIBLINK, SHLIBLIBS): On cygwin, linking needs

-Wl,--whole-archive $(OBJECTS) -Wl,--no-whole-archive $(LIBS).

Rev: src/nettle/ChangeLog:1.276
Rev: src/nettle/configure.ac:1.44
parent 3591eb53
No related branches found
No related tags found
No related merge requests found
2004-09-23 Niels Mller <nisse@lysator.liu.se>
* configure.ac (SHLIBLINK, SHLIBLIBS): On cygwin, linking needs
-Wl,--whole-archive $(OBJECTS) -Wl,--no-whole-archive $(LIBS).
2004-09-22 Niels Mller <niels@s3.kth.se>
* configure.ac: Setup SHLIBFORLINK and friends for cygwin.
......
......@@ -125,8 +125,8 @@ case `uname -sr` in
SHLIBFORLINK='cygnettle-$(SHLIBMAJOR)-$(SHLIBMINOR).dll'
SHLIBSONAME=''
SHLIBFILE='libnettle.dll.a'
SHLIBLINK='$(CC) $(LDFLAGS) -shared -Wl,--out-implib=$(SHLIBFILE) -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--no-whole-archive'
SHLIBLIBS='$(LIBS)'
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)'
;;
*)
SHLIBFORLINK=libnettle.so
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment