| Index: ports/gtk+/build.sh
|
| diff --git a/ports/gtk+/build.sh b/ports/gtk+/build.sh
|
| index 599739f726a1c16b56bdae81303434b8770eb46f..19eceed8d6b87c582cf64afddd9942dec2a031f5 100644
|
| --- a/ports/gtk+/build.sh
|
| +++ b/ports/gtk+/build.sh
|
| @@ -5,7 +5,7 @@
|
| ConfigureStep() {
|
| if [ "${NACL_LIBC}" = "newlib" ]; then
|
| # newlib requires different library order to deal with static libraries
|
| - export LIBS+=" -lXext -lX11 -lxcb -lXau"
|
| + export LIBS+=" -lXext -lX11 -lxcb -lXau -lglibc-compat"
|
| NACLPORTS_CPPFLAGS+=" -I${NACLPORTS_INCLUDE}/glibc-compat"
|
| fi
|
|
|
| @@ -14,6 +14,11 @@ ConfigureStep() {
|
| sed -i 's/-lglib-2.0 -lintl/-lglib-2.0 -lffi -lintl/'\
|
| ${NACLPORTS_LIBDIR}/pkgconfig/glib-2.0.pc
|
|
|
| + if [ "${NACL_LIBC}" = "newlib" ]; then
|
| + sed -i 's/-lffi -lintl/-lffi -lglibc-compat -lintl/'\
|
| + ${NACLPORTS_LIBDIR}/pkgconfig/glib-2.0.pc
|
| + fi
|
| +
|
| EXTRA_CONFIGURE_ARGS+=" --disable-shm --enable-explicit-deps --disable-cups \
|
| --enable-gtk-doc-html=no"
|
|
|
|
|