From 1b08418ebd952b5bb22d297239904988dcf30204 Mon Sep 17 00:00:00 2001 From: Huang Peng Date: Tue, 9 Sep 2008 18:49:37 +0800 Subject: [PATCH] Modify CFLAGS. --- autogen.sh | 2 +- engine/Makefile.am | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/autogen.sh b/autogen.sh index 14db0b1..9e533f0 100755 --- a/autogen.sh +++ b/autogen.sh @@ -8,6 +8,6 @@ aclocal -I m4 autoheader automake --add-missing --copy autoconf -export CFLAGS="-g -O0" +export CFLAGS="-Wall -g -O0 -Wl,--no-undefined" export CXXFLAGS="$CFLAGS" ./configure --enable-maintainer-mode $* diff --git a/engine/Makefile.am b/engine/Makefile.am index 248962f..5b48170 100644 --- a/engine/Makefile.am +++ b/engine/Makefile.am @@ -45,6 +45,7 @@ _hangul_la_CFLAGS = \ _hangul_la_LDFLAGS = \ @HANGUL_LIBS@ \ + @PYTHON_LIBS@ \ -rpath $(hanguldir) \ -avoid-version \ -module \ -- 2.7.4