Export symbols only when it matches regex '^r3_'

This commit is contained in:
ChangZhuo Chen (陳昌倬) 2014-05-19 21:43:42 +08:00
parent 611eee4c05
commit bad5cc8966

View file

@ -1,6 +1,7 @@
lib_LTLIBRARIES = libr3.la lib_LTLIBRARIES = libr3.la
# lib_LIBRARIES = libr3.a # lib_LIBRARIES = libr3.a
libr3_la_SOURCES = node.c edge.c list.c str.c token.c 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) libr3_la_LIBADD=$(DEPS_LIBS)
AM_CFLAGS=$(DEPS_CFLAGS) -I$(top_builddir) -I$(top_builddir)/include -Wall AM_CFLAGS=$(DEPS_CFLAGS) -I$(top_builddir) -I$(top_builddir)/include -Wall