From acbdfd42e5326834aa9b25091d4826ab908684d7 Mon Sep 17 00:00:00 2001 From: Jordan Justen Date: Tue, 15 Apr 2014 23:53:26 +0000 Subject: 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 git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15470 6f19259b-4bc3-4df7-8a09-765794883524 --- EmulatorPkg/Unix/Host/Host.inf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'EmulatorPkg/Unix') 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 -- cgit v1.2.3