[sysprof] lib: only export ^sp_ symbols



commit 32ea29e1ba4366fe015d1632d3c21cf9de24802a
Author: Christian Hergert <christian hergert me>
Date:   Wed Apr 13 20:20:52 2016 -0700

    lib: only export ^sp_ symbols

 lib/Makefile.am |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/lib/Makefile.am b/lib/Makefile.am
index ef78257..5636c1a 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -114,6 +114,9 @@ libsysprof_ API_VERSION@_la_LIBADD = \
        $(NULL)
 
 libsysprof_ API_VERSION@_la_LDFLAGS = \
+       -avoid-version \
+       -no-undefined \
+       -export-symbols-regex '^(sp_).*' \
        $(WARN_LDFLAGS) \
        $(NULL)
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]