Potential fix for undefined reference 'dlsym' linux

Fix for undefined reference including ldl. add -ldl to linux LIBS for Makefile.

/usr/bin/ld: /tmp/ccYIfntN.ltrans11.ltrans.o: undefined reference to symbol 'dlsym@@GLIBC_2.2.5'
/usr/lib/libdl.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make: *** [Makefile:388: release/bin/monero-wallet-gui] Error 1
This commit is contained in:
MiWCryptAnalytics 2017-02-18 14:13:30 -05:00 committed by GitHub
parent c6688dc876
commit 2e8306b341

View file

@ -214,6 +214,7 @@ linux {
-lboost_program_options \
-lssl \
-lcrypto \
-ldl \
-Wl,-Bdynamic \
-lGL
# currently monero has an issue with "static" build and linunwind-dev,