projects
/
jansson.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
330e892
)
Only export symbols starting with "json_" in libjansson.la
author
Petri Lehtinen
<petri@digip.org>
Sun, 29 Nov 2009 11:04:00 +0000
(13:04 +0200)
committer
Petri Lehtinen
<petri@digip.org>
Sun, 29 Nov 2009 11:04:12 +0000
(13:04 +0200)
This way we don't pollute the symbol namespace with internal symbols.
src/Makefile.am
patch
|
blob
|
history
diff --git
a/src/Makefile.am
b/src/Makefile.am
index
9e9ee6c
..
3ba8b8b
100644
(file)
--- a/
src/Makefile.am
+++ b/
src/Makefile.am
@@
-13,6
+13,8
@@
libjansson_la_SOURCES = \
utf.h \
util.h \
value.c
-libjansson_la_LDFLAGS = -version-info 1:1:1
+libjansson_la_LDFLAGS = \
+ -export-symbols-regex '^json_' \
+ -version-info 1:1:1
AM_CFLAGS = -Wall -Wextra -Werror