]> git.meshlink.io Git - meshlink/blobdiff - src/Makefile.am
Only export symbols that start with meshlink_.
[meshlink] / src / Makefile.am
index 8f02c06d063a950f0db532cc5125ac95637bc2b1..9a92c422ef4d9fc7842d69fc64ce8bf928ecadf5 100644 (file)
@@ -56,8 +56,10 @@ sptps_speed_SOURCES = \
 
 lib_LTLIBRARIES = libmeshlink.la
 
+libmeshlink_la_LDFLAGS = -export-symbols-regex '^meshlink_'
+
 libmeshlink_la_SOURCES = \
-       libmeshlink.c libmeshlink.h \
+       meshlink.c meshlink.h \
        buffer.c buffer.h \
        cipher.h \
        conf.c conf.h \
@@ -94,7 +96,6 @@ libmeshlink_la_SOURCES = \
        splay_tree.c splay_tree.h \
        sptps.c sptps.h \
        system.h \
-       tincd.c \
        utils.c utils.h \
        xalloc.h \
        $(ed25519_SOURCES) \