Merge branch 'czchen-feature/export'
struct name does not need to be exported since they are just offset and size in application binary interface (ABI). As for symbol match_entry, updated regex will export them. The command objdump -t libr3.so.0 can be used to see export symbols. If the second column of a symbol is marked as g, it is exported.
This commit is contained in:
commit
f4e8d8fdc9
1 changed files with 1 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
lib_LTLIBRARIES = libr3.la
|
||||
# lib_LIBRARIES = libr3.a
|
||||
libr3_la_SOURCES = node.c edge.c str.c token.c
|
||||
libr3_la_LDFLAGS = -export-symbols-regex '^r3_|^match_'
|
||||
|
||||
libr3_la_LIBADD=$(DEPS_LIBS)
|
||||
AM_CFLAGS=$(DEPS_CFLAGS) -I$(top_builddir) -I$(top_builddir)/include -Wall
|
||||
|
|
Loading…
Reference in a new issue