summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pango/pango_1.2.5.oe3
1 files changed, 2 insertions, 1 deletions
diff --git a/pango/pango_1.2.5.oe b/pango/pango_1.2.5.oe
index 0f75c79f6c..b63e18b3f3 100644
--- a/pango/pango_1.2.5.oe
+++ b/pango/pango_1.2.5.oe
@@ -14,7 +14,8 @@ FILES_${PN}-doc:=${FILES_pango-doc} ${datadir}/gtk-doc
do_compile_prepend () {
if test -e ${S}/${HOST_PREFIX}libtool; then LIBTOOL=${S}/${HOST_PREFIX}libtool; else LIBTOOL=${S}/libtool; fi
(cd tests && \
- /bin/sh $LIBTOOL --silent --mode=link ${BUILD_CC} ${BUILD_CFLAGS} -I${STAGING_INCDIR}/glib-2.0 -lglib-2.0 gen-all-unicode.c -o gen-all-unicode && \
+ /bin/sh $LIBTOOL --silent --mode=compile ${BUILD_CC} ${BUILD_CFLAGS} -I${STAGING_INCDIR}/glib-2.0 gen-all-unicode.c -c -o gen-all-unicode.o && \
+ /bin/sh $LIBTOOL --silent --mode=link ${BUILD_CC} ${BUILD_LDFLAGS} -lglib-2.0 gen-all-unicode.o -o gen-all-unicode && \
touch gen-all-unicode.c .libs/gen-all-unicode gen-all-unicode gen-all-unicode.o .deps/gen-all-unicode.Po)
}