From ed1c130ebced51e48b2a8c600e5f7e68fc54dd85 Mon Sep 17 00:00:00 2001 From: jin-eld Date: Mon, 26 Aug 2013 22:08:43 +0300 Subject: Move extra libtool options into configure This should allow to keep the libtool options all in one place and at the same time define different options depending on the host. Made sure that -no-undefined is set only on Win32. Although no side effects on Linux and OSX have been observed so far, it's probably better to play it safe; it does not seem to be needed/does not seem to matter on *nix, only required for Win32. --- toxcore/Makefile.inc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'toxcore/Makefile.inc') diff --git a/toxcore/Makefile.inc b/toxcore/Makefile.inc index 90912a59..da07db41 100644 --- a/toxcore/Makefile.inc +++ b/toxcore/Makefile.inc @@ -1,5 +1,3 @@ -LIBTOXCORE_VERSION = 0:0:0 - lib_LTLIBRARIES = libtoxcore.la libtoxcore_la_include_HEADERS = \ @@ -33,8 +31,7 @@ libtoxcore_la_CFLAGS = -I$(top_srcdir) \ -I$(top_srcdir)/toxcore \ $(LIBSODIUM_CFLAGS) -libtoxcore_la_LDFLAGS = -version-info $(LIBTOXCORE_VERSION) \ - -no-undefined \ +libtoxcore_la_LDFLAGS = $(EXTRA_LT_LDFLAGS) \ $(LIBSODIUM_LDFLAGS) \ $(WINSOCK2_LIBS) -- cgit v1.2.3