From 7b2bb8a26175aa6ef0e9930e5e9811e4b3a85f66 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Fri, 27 Nov 2009 10:34:02 +0100 Subject: [PATCH] src/Makefile.am: Only export symbols matching "^ros_". --- src/Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Makefile.am b/src/Makefile.am index 4d56eb5..34f3efb 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -11,6 +11,7 @@ include_HEADERS = routeros_api.h routeros_version.h lib_LTLIBRARIES = librouteros.la librouteros_la_LDFLAGS = -version-info @LIBROUTEROS_CURRENT@:@LIBROUTEROS_REVISION@:@LIBROUTEROS_AGE@ +librouteros_la_LDFLAGS += -export-symbols-regex "^ros_" librouteros_la_LIBADD = -lgcrypt if BUILD_WITH_LIBSOCKET librouteros_la_LIBADD += -lsocket -- 2.11.0