]> git.meshlink.io Git - meshlink/commitdiff
Ensure -export-symbols-regex is not lost.
authorGuus Sliepen <guus@meshlink.io>
Tue, 8 May 2018 15:05:00 +0000 (17:05 +0200)
committerGuus Sliepen <guus@meshlink.io>
Tue, 8 May 2018 15:05:00 +0000 (17:05 +0200)
An earlier commit accidentily caused libmeshlink_la_LDFLAGS to be
overwritten later in src/Makefile.am, and this caused
-export-symbols-regex to be dropped, thereby exposing internal symbols
of the library.

src/Makefile.am

index 7b8dd148e447138fb627bd9573ab364458037376..1e2037788b665222ea0e79931d1eb4c1b1a69539 100644 (file)
@@ -86,7 +86,7 @@ if MINGW
 libmeshlink_la_CFLAGS += -I${top_srcdir}/catta/src/compat/windows/include/
 endif
 
-libmeshlink_la_LDFLAGS = $(PTHREAD_LIBS)
+libmeshlink_la_LDFLAGS += $(PTHREAD_LIBS)
 libmeshlink_la_LIBADD = ${top_builddir}/catta/src/libcatta.la
 
 libmeshlink_la_SOURCES += \