From c9223540765e8d1d50eb524274450fd40b6782a4 Mon Sep 17 00:00:00 2001 From: Luke Dashjr Date: Sat, 15 Sep 2012 08:43:46 +0000 Subject: [PATCH] Add -no-undefined to LDFLAGS This tells libtool that jansson does not require any external symbols, and allows building it as a shared library (DLL) on Windows. --- src/Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Makefile.am b/src/Makefile.am index 3ba8b8b..1da435d 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -14,6 +14,7 @@ libjansson_la_SOURCES = \ util.h \ value.c libjansson_la_LDFLAGS = \ + -no-undefined \ -export-symbols-regex '^json_' \ -version-info 1:1:1