mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-16 09:12:44 +03:00
Fix up platform detection
This commit is contained in:
parent
15f88ea1c3
commit
8d2da64453
46
Docs/env.sh
46
Docs/env.sh
@ -58,26 +58,32 @@ NS_INTERNAL_LIBS="buildsystem libwapcaplet libparserutils libhubbub libdom libcs
|
|||||||
NS_BROWSER="netsurf"
|
NS_BROWSER="netsurf"
|
||||||
|
|
||||||
# add target specific libraries
|
# add target specific libraries
|
||||||
if [ "x${TARGET_ABI}" = "xi586-pc-haiku" ]; then
|
case "${TARGET_ABI}"
|
||||||
# tools required to build the browser
|
i586-pc-haiku)
|
||||||
NS_TOOLS=""
|
# tools required to build the browser
|
||||||
NS_FRONTEND_LIBS=""
|
NS_TOOLS=""
|
||||||
elif [ "x${TARGET_ABI}" = "xi686-apple-darwin11" ]; then
|
NS_FRONTEND_LIBS=""
|
||||||
# tools required to build the browser
|
;;
|
||||||
NS_TOOLS=""
|
*arwin*)
|
||||||
# libraries required for the Darwin target abi
|
# OS X
|
||||||
NS_FRONTEND_LIBS="libsvgtiny libnsfb"
|
# tools required to build the browser
|
||||||
elif [ "x${TARGET_ABI}" = "xarm-unknown-riscos" ]; then
|
NS_TOOLS=""
|
||||||
# tools required to build the browser
|
# libraries required for the Darwin target abi
|
||||||
NS_TOOLS="nsgenbind"
|
NS_FRONTEND_LIBS="libsvgtiny libnsfb"
|
||||||
# libraries required for the risc os target abi
|
;;
|
||||||
NS_FRONTEND_LIBS="libsvgtiny librufl libpencil librosprite"
|
arm-unknown-riscos)
|
||||||
else
|
# tools required to build the browser
|
||||||
# tools required to build the browser
|
NS_TOOLS="nsgenbind"
|
||||||
NS_TOOLS="nsgenbind"
|
# libraries required for the risc os target abi
|
||||||
# internal libraries only required by some frontends
|
NS_FRONTEND_LIBS="libsvgtiny librufl libpencil librosprite"
|
||||||
NS_FRONTEND_LIBS="libsvgtiny libnsfb"
|
;;
|
||||||
fi
|
*)
|
||||||
|
# tools required to build the browser
|
||||||
|
NS_TOOLS="nsgenbind"
|
||||||
|
# internal libraries only required by some frontends
|
||||||
|
NS_FRONTEND_LIBS="libsvgtiny libnsfb"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
################ OS Package installation ################
|
################ OS Package installation ################
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user