summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Justen <jordan.l.justen@intel.com>2014-04-15 23:53:26 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2014-04-15 23:53:26 +0000
commitacbdfd42e5326834aa9b25091d4826ab908684d7 (patch)
tree42452feb1e659ff4fceec52737da83aa409f46f0
parent9a25ad8bd5db304f4e81a56d44b572979dba295c (diff)
downloadedk2-platforms-acbdfd42e5326834aa9b25091d4826ab908684d7.tar.xz
EmulatorPkg/Unix GCC: Link to libdl
libdl is used for the dlopen and dlclose calls. We were already linking to it, but it appears it may have been pulled in automatically by the linker before. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15470 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--EmulatorPkg/Unix/Host/Host.inf2
1 files changed, 1 insertions, 1 deletions
diff --git a/EmulatorPkg/Unix/Host/Host.inf b/EmulatorPkg/Unix/Host/Host.inf
index 3d262a760e..0c422c363d 100644
--- a/EmulatorPkg/Unix/Host/Host.inf
+++ b/EmulatorPkg/Unix/Host/Host.inf
@@ -130,7 +130,7 @@
GCC:*_*_X64_PP_FLAGS == -m64 -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h
GCC:*_*_X64_ASM_FLAGS == -m64 -c -x assembler -imacros $(DEST_DIR_DEBUG)/AutoGen.h
- GCC:*_*_*_DLINK2_FLAGS == -lpthread -lc
+ GCC:*_*_*_DLINK2_FLAGS == -lpthread -lc -ldl
#
# Need to do this link via gcc and not ld as the pathing to libraries changes from OS version to OS version