summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2012-04-30 23:50:08 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2012-04-30 23:50:08 +0000
commit1d602b12ab937dde5f06f16a892bc54a0bf7ef30 (patch)
tree6e67c439e2e456bc57008166830e860180c08db3
parent0b2a54e2af94504c4c450fa8efda92121e1eecb6 (diff)
downloadedk2-platforms-1d602b12ab937dde5f06f16a892bc54a0bf7ef30.tar.xz
EmulatorPkg/build.sh: Fix link issue for openSUSE
Search for libdl to fix a link error on openSUSE 12.1 Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13230 6f19259b-4bc3-4df7-8a09-765794883524
-rwxr-xr-xEmulatorPkg/build.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/EmulatorPkg/build.sh b/EmulatorPkg/build.sh
index 111619fa47..b34d11a7ff 100755
--- a/EmulatorPkg/build.sh
+++ b/EmulatorPkg/build.sh
@@ -158,13 +158,13 @@ case $PROCESSOR in
IA32)
ARCH_SIZE=32
BUILD_OUTPUT_DIR=$WORKSPACE/Build/Emulator32
- LIB_NAMES="ld-linux.so.2 crt1.o crti.o crtn.o"
+ LIB_NAMES="ld-linux.so.2 libdl.so.2 crt1.o crti.o crtn.o"
LIB_SEARCH_PATHS="/usr/lib/i386-linux-gnu /usr/lib32 /lib32 /usr/lib /lib"
;;
X64)
ARCH_SIZE=64
BUILD_OUTPUT_DIR=$WORKSPACE/Build/Emulator
- LIB_NAMES="ld-linux-x86-64.so.2 crt1.o crti.o crtn.o"
+ LIB_NAMES="ld-linux-x86-64.so.2 libdl.so.2 crt1.o crti.o crtn.o"
LIB_SEARCH_PATHS="/usr/lib/x86_64-linux-gnu /usr/lib64 /lib64 /usr/lib /lib"
;;
esac