Fixed focal PKG_CONFIG_LIBDIR issue for cross build 93/273593/1
authorvarinder.p <varinder.p@samsung.com>
Fri, 8 Apr 2022 06:49:48 +0000 (12:19 +0530)
committervarinder.p <varinder.p@samsung.com>
Fri, 8 Apr 2022 06:50:50 +0000 (12:20 +0530)
Change-Id: Iff5c778f5c309f4597419884d83376d36cfac31f
Signed-off-by: varinder.p <varinder.p@samsung.com>
tizen/emulator_configure.sh

index 0dfd181..b5d675e 100755 (executable)
@@ -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