diff options
Diffstat (limited to 'java/eclipse/files/manualpatch-plugins-swt-gtk-build.sh')
-rw-r--r-- | java/eclipse/files/manualpatch-plugins-swt-gtk-build.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/java/eclipse/files/manualpatch-plugins-swt-gtk-build.sh b/java/eclipse/files/manualpatch-plugins-swt-gtk-build.sh index c618b3f236be..f1829709a0c9 100644 --- a/java/eclipse/files/manualpatch-plugins-swt-gtk-build.sh +++ b/java/eclipse/files/manualpatch-plugins-swt-gtk-build.sh @@ -8,10 +8,10 @@ + CC=gcc + LD=gcc + XTEST_LIB_PATH=$X11BASE/lib -+ GECKO_I=${X11BASE}/include/${BROWSER} ++ GECKO_I=`${GECKO_CONFIG} --cflags gtkmozembed` + GECKO_INCLUDES="-I${GECKO_I} -I${LOCALBASE}/include/nspr -I${GECKO_I}/xpcom -I${GECKO_I}/string -I${GECKO_I}/embed_base -I${GECKO_I}/embedstring" -+ GECKO_L=${X11BASE}/lib/${BROWSER} -+ GECKO_LIBS="-L${GECKO_L} -L${LOCALBASE}/lib -lxpcom -lnspr4 -lplds4 -lplc4 -lgtkembedmoz" ++ GECKO_L=`${GECKO_CONFIG} --libs gtkmozembed` ++ GECKO_LIBS="-L${GECKO_L} -L${LOCALBASE}/lib" + case $MODEL in + "amd64") + AWT_LIB_PATH=$JAVA_HOME/jre/lib/amd64 |