diff --git a/buildjdk.sh b/buildjdk.sh index dd6b888..0322343 100755 --- a/buildjdk.sh +++ b/buildjdk.sh @@ -27,6 +27,8 @@ bash ./configure \ --with-debug-level=release \ --with-freetype-lib=$FREETYPE_DIR/lib \ --with-freetype-include=$FREETYPE_DIR/include/freetype2 \ + --x-includes=/usr/include \ + --x-libraries=/usr/lib \ || error_code=$? if [ "${error_code}" -ne 0 ]; then echo "\n\nCONFIGURE ERROR, config.log:"