Modify CFLAGS.
authorHuang Peng <shawn.p.huang@gmail.com>
Tue, 9 Sep 2008 10:49:37 +0000 (18:49 +0800)
committerHuang Peng <shawn.p.huang@gmail.com>
Tue, 9 Sep 2008 10:49:37 +0000 (18:49 +0800)
autogen.sh
engine/Makefile.am

index 14db0b1..9e533f0 100755 (executable)
@@ -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 $*
index 248962f..5b48170 100644 (file)
@@ -45,6 +45,7 @@ _hangul_la_CFLAGS = \
 
 _hangul_la_LDFLAGS = \
        @HANGUL_LIBS@ \
+       @PYTHON_LIBS@ \
        -rpath $(hanguldir) \
        -avoid-version \
        -module \