From: Petri Lehtinen Date: Wed, 19 Sep 2012 04:11:26 +0000 (-0700) Subject: Merge pull request #90 from luke-jr/patch-1 X-Git-Tag: v2.4-moonshot~1^2~4 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=jansson.git;a=commitdiff_plain;h=c3fc1d73820000e7757c059a043cf8813316988f Merge pull request #90 from luke-jr/patch-1 Add -no-undefined to LDFLAGS --- c3fc1d73820000e7757c059a043cf8813316988f diff --cc src/Makefile.am index 22bc053,1da435d..376eea6 --- a/src/Makefile.am +++ b/src/Makefile.am @@@ -10,19 -7,15 +10,20 @@@ libjansson_la_SOURCES = hashtable.h \ jansson_private.h \ load.c \ + memory.c \ + pack_unpack.c \ strbuffer.c \ strbuffer.h \ + strconv.c \ utf.c \ utf.h \ - util.h \ value.c libjansson_la_LDFLAGS = \ + -no-undefined \ -export-symbols-regex '^json_' \ - -version-info 1:1:1 + -version-info 7:1:3 -AM_CFLAGS = -Wall -Wextra -Werror +if GCC +# These flags are gcc specific +AM_CFLAGS = -Wall -Wextra -Wdeclaration-after-statement -Werror +endif