mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-27 05:20:50 +00:00
build.sh: Fix macOS; add path to libffi pkgconfig to PKG_CONFIG_PATH
This commit is contained in:
parent
4147b42afd
commit
e8680193c6
2
build.sh
2
build.sh
@ -48,6 +48,8 @@ case "$(uname -s)" in # adjust compilation option based on platform
|
|||||||
echo 'Compiling for MacOS…'
|
echo 'Compiling for MacOS…'
|
||||||
sys_cflags='-march=native'
|
sys_cflags='-march=native'
|
||||||
sys_opts='--disable-cocoa'
|
sys_opts='--disable-cocoa'
|
||||||
|
# necessary to find libffi, which is required by gobject
|
||||||
|
export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}/usr/local/opt/libffi/lib/pkgconfig"
|
||||||
;;
|
;;
|
||||||
CYGWIN*|MINGW*|MSYS*)
|
CYGWIN*|MINGW*|MSYS*)
|
||||||
echo 'Compiling for Windows…'
|
echo 'Compiling for Windows…'
|
||||||
|
Loading…
Reference in New Issue
Block a user