# avoid pkg-config bug on Windows
if [ -z ${PKG_CONFIG_PATH} ] ; then
+export PKG_CONFIG_LIBDIR=${TIZEN_SDK_DEV_PATH}/lib/pkgconfig
export PKG_CONFIG_PATH=${TIZEN_SDK_DEV_PATH}/lib/pkgconfig
else
+export PKG_CONFIG_LIBDIR=${TIZEN_SDK_DEV_PATH}/lib/pkgconfig:${PKG_CONFIG_LIBDIR}
export PKG_CONFIG_PATH=${TIZEN_SDK_DEV_PATH}/lib/pkgconfig:${PKG_CONFIG_PATH}
fi
--extra-cflags=-Wno-error=logical-not-parentheses
--extra-cflags=-Wno-error=strict-prototypes
--extra-ldflags=-Wl,-rpath,'@executable_path'
+ --extra-ldflags=-Wl,-no_weak_imports
--audio-drv-list=coreaudio
--enable-cocoa
--enable-hax