From 4a4a5cbd3421643c818d9791f03bd508921dba77 Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Fri, 5 Jul 2013 20:32:02 +0000 Subject: [PATCH] Makefile comment about the LDLIBS+= workaround --- src/functional/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/src/functional/Makefile b/src/functional/Makefile index 6b8d61f..db10e7e 100644 --- a/src/functional/Makefile +++ b/src/functional/Makefile @@ -39,6 +39,7 @@ pthread pthread-static: LDLIBS+=-lpthread sem sem-static: LDLIBS+=-lpthread -lrt strtod_simple strtod_simple-static: LDLIBS+=-lm tgmath tgmath-static: LDLIBS+=-lm +# adding ./lib.so through LDLIBS instead of $^ in the implicit rule because make removes the leading ./ from dependencies tls_align: LDLIBS+=./tls_align_dso.so tls_align: tls_align_dso.so # make bug: tls_align target specific flags are also set for tls_align_dso.so when both target is built -- 2.20.1