From 35cbcab5e38ad286dfe85c6958b47a87c8885c41 Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Thu, 24 Apr 2014 16:04:34 +0200 Subject: [PATCH] Only export symbols that start with meshlink_. We don't want to pollute the global namespace with all our internal functions. --- src/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Makefile.am b/src/Makefile.am index 6f7cd795..9a92c422 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -56,6 +56,8 @@ sptps_speed_SOURCES = \ lib_LTLIBRARIES = libmeshlink.la +libmeshlink_la_LDFLAGS = -export-symbols-regex '^meshlink_' + libmeshlink_la_SOURCES = \ meshlink.c meshlink.h \ buffer.c buffer.h \ -- 2.39.5