emulator: remove --export-dynamic from global configure 77/29077/4
authorGiWoong Kim <giwoong.kim@samsung.com>
Fri, 29 Aug 2014 10:46:02 +0000 (19:46 +0900)
committerSeokYeon Hwang <syeon.hwang@samsung.com>
Wed, 22 Oct 2014 02:46:43 +0000 (11:46 +0900)
Apply --export-dynamic for Linux.
Apply -export_dynamic for MacOS.

Change-Id: I066a773bbbe30e5d63c83e038eaf0a76e62e5c93
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
configure
tizen/emulator_configure.sh

index 5638e874a510bf43a52be09792470495b4d923f8..aa9212b709dc8923228a38bf22d321d15fdb1edd 100755 (executable)
--- a/configure
+++ b/configure
@@ -415,7 +415,7 @@ QEMU_CFLAGS="-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE $QEMU_CFLA
 QEMU_INCLUDES="-I. -I\$(SRC_PATH) -I\$(SRC_PATH)/include"
 if test "$debug_info" = "yes"; then
     CFLAGS="-g $CFLAGS"
-    LDFLAGS="-g -Wl,--export-dynamic $LDFLAGS"
+    LDFLAGS="-g $LDFLAGS"
 fi
 
 # make source path absolute
index fcd6c9bcf6770a9e5e21afe681ffa0a58f0f6ce8..c0efc6b08cc2b2242cd5e0e87263d5f6a61b167d 100755 (executable)
@@ -199,6 +199,7 @@ echo "##### QEMU configuring for emulator"
 echo "##### QEMU configure append:" $CONFIGURE_APPEND
 exec ./configure \
  --enable-werror \
+ --extra-ldflags=-Wl,--export-dynamic \
  --audio-drv-list=alsa \
  --disable-vnc \
  --disable-pie \
@@ -233,6 +234,7 @@ echo "##### QEMU configure append:" $CONFIGURE_APPEND
 ./configure \
  --enable-werror \
  --extra-cflags=-mmacosx-version-min=10.4 \
+ --extra-ldflags=-Wl,-export_dynamic \
  --audio-drv-list=coreaudio \
  --enable-shm \
  --enable-hax \