]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
Merge pull request #197 from menshiyun/test-pr
authorIceman <iceman@iuse.se>
Sun, 25 Sep 2016 06:46:59 +0000 (08:46 +0200)
committerGitHub <noreply@github.com>
Sun, 25 Sep 2016 06:46:59 +0000 (08:46 +0200)
minor fix in client/makefile
extra option to LDLIBS is not needed for mingw env as of now. Might be in the future.

client/Makefile

index cab4fddbb229d4852a43768ea5e985f655229a1c..6b8b84a3c327fb9bb6342c4b329d9fa8bf2ad860 100644 (file)
@@ -12,7 +12,7 @@ CXX=g++
 VPATH = ../common ../zlib
 OBJDIR = obj
 
-LDLIBS = -L/opt/local/lib -L/usr/local/lib -lreadline -lpthread -lm -ltermcap -lncurses
+LDLIBS = -L/opt/local/lib -L/usr/local/lib -lreadline -lpthread -lm
 LUALIB = ../liblua/liblua.a
 LDFLAGS = $(COMMON_FLAGS)
 CFLAGS = -std=c99 -I. -I../include -I../common -I../zlib -I/opt/local/include -I../liblua -Wall $(COMMON_FLAGS) -g -O4
@@ -37,6 +37,7 @@ else
     CXXFLAGS = $(shell pkg-config --cflags QtCore QtGui 2>/dev/null) -Wall -O4
     QTLDLIBS = $(shell pkg-config --libs QtCore QtGui 2>/dev/null)
     LUALIB +=  -ldl
+    LDLIBS +=  -ltermcap -lncurses
     MOC = $(shell pkg-config --variable=moc_location QtCore)
     # 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
Impressum, Datenschutz