From bad5cc8966f2a0503167538525075e75eb2cd963 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?ChangZhuo=20Chen=20=28=E9=99=B3=E6=98=8C=E5=80=AC=29?= Date: Mon, 19 May 2014 21:43:42 +0800 Subject: [PATCH] Export symbols only when it matches regex '^r3_' --- src/Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Makefile.am b/src/Makefile.am index af01dc1..1c24027 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,6 +1,7 @@ lib_LTLIBRARIES = libr3.la # lib_LIBRARIES = libr3.a libr3_la_SOURCES = node.c edge.c list.c str.c token.c +libr3_la_LDFLAGS = -export-symbols-regex '^r3_' libr3_la_LIBADD=$(DEPS_LIBS) AM_CFLAGS=$(DEPS_CFLAGS) -I$(top_builddir) -I$(top_builddir)/include -Wall