From 1a43084e584d9120d5bfcf0457e407e0701f7838 Mon Sep 17 00:00:00 2001 From: "varinder.p" Date: Fri, 8 Apr 2022 12:19:48 +0530 Subject: [PATCH] Fixed focal PKG_CONFIG_LIBDIR issue for cross build Change-Id: Iff5c778f5c309f4597419884d83376d36cfac31f Signed-off-by: varinder.p --- tizen/emulator_configure.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tizen/emulator_configure.sh b/tizen/emulator_configure.sh index 0dfd1819a4..b5d675e7f7 100755 --- a/tizen/emulator_configure.sh +++ b/tizen/emulator_configure.sh @@ -113,8 +113,10 @@ echo "$*" # 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 @@ -200,6 +202,7 @@ CONFIGURE_APPEND=" --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 -- 2.34.1