From: martin.holst@gmail.com Date: Thu, 19 Sep 2013 19:33:56 +0000 (+0000) Subject: Removed the -ldl switch from r763, so it only is added for Linux (it apparently cause... X-Git-Tag: v1.0.0~80^2~2 X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/eaea9de900e397a9eac04276eed2b3b760f19f9f Removed the -ldl switch from r763, so it only is added for Linux (it apparently caused errors on windows/mingw) --- diff --git a/client/Makefile b/client/Makefile index 59b4b093..00da26a9 100644 --- a/client/Makefile +++ b/client/Makefile @@ -32,6 +32,8 @@ else CXXFLAGS = $(shell pkg-config --cflags QtCore QtGui 2>/dev/null) -Wall -O4 QTLDLIBS = $(shell pkg-config --libs QtCore QtGui 2>/dev/null) MOC = $(shell pkg-config --variable=moc_location QtCore) +LDLIBS += -ldl + # Below is a variant you can use if you have problems compiling with QT5 on ubuntu. see http://www.proxmark.org/forum/viewtopic.php?id=1661 for more info. #MOC = /usr/lib/x86_64-linux-gnu/qt4/bin/moc LUAPLATFORM = linux