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
This commit is contained in:
jljusten 2012-04-30 23:50:08 +00:00
parent 0b2a54e2af
commit 1d602b12ab
1 changed files with 2 additions and 2 deletions

View File

@ -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