mirror of https://github.com/acidanthera/audk.git
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
This commit is contained in:
parent
9a25ad8bd5
commit
acbdfd42e5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue