diff --git a/testing/Makefile.inc b/testing/Makefile.inc index ab452a94..2142b4ca 100644 --- a/testing/Makefile.inc +++ b/testing/Makefile.inc @@ -15,7 +15,6 @@ nTox_LDADD = $(LIBSODIUM_LDFLAGS) \ $(LIBSODIUM_LIBS) \ $(NACL_OBJECTS) \ $(NACL_LIBS) \ - $(MATH_LDFLAGS) \ $(NCURSES_LIBS) \ $(WINSOCK2_LIBS) endif @@ -53,7 +52,6 @@ Messenger_test_LDADD = $(LIBSODIUM_LDFLAGS) \ $(LIBSODIUM_LIBS) \ $(NACL_OBJECTS) \ $(NACL_LIBS) \ - $(MATH_LDFLAGS) \ $(WINSOCK2_LIBS) @@ -88,7 +86,6 @@ tox_sync_LDADD = $(LIBSODIUM_LDFLAGS) \ $(LIBSODIUM_LIBS) \ $(NACL_OBJECTS) \ $(NACL_LIBS) \ - $(MATH_LDFLAGS) \ $(WINSOCK2_LIBS) endif diff --git a/toxcore/Makefile.inc b/toxcore/Makefile.inc index 89fe4dc7..3cfdd73b 100644 --- a/toxcore/Makefile.inc +++ b/toxcore/Makefile.inc @@ -56,6 +56,7 @@ libtoxcore_la_LDFLAGS = $(TOXCORE_LT_LDFLAGS) \ $(EXTRA_LT_LDFLAGS) \ $(LIBSODIUM_LDFLAGS) \ $(NACL_LDFLAGS) \ + $(MATH_LDFLAGS) \ $(RT_LIBS) \ $(WINSOCK2_LIBS)