Makefile tweak for static library linkiing of OS X App bundle
This commit is contained in:
parent
cf62f09bc4
commit
2f8b3ee6bc
6
Makefile
6
Makefile
@ -29,19 +29,19 @@ else
|
||||
WX_LDLIBS = $(shell wx-config --libs base core aui stc adv)
|
||||
endif
|
||||
|
||||
LDLIBS += -lssh2
|
||||
|
||||
# Platform compiler flags
|
||||
ifeq ($(OS),Darwin)
|
||||
CXX = clang++ -std=c++98 -mmacosx-version-min=10.5
|
||||
LDLIBS += /usr/local/lib/libssh2.a
|
||||
endif
|
||||
ifeq ($(OS),Linux)
|
||||
CXX += -std=c++11
|
||||
LDLIBS += -lssh2
|
||||
endif
|
||||
ifeq ($(OS),Windows_NT)
|
||||
CXXFLAGS = -DNDEBUG -DSTATIC_BUILD -static
|
||||
CXX += -I/include -DWIN32
|
||||
LDLIBS += -L/lib -lwsock32
|
||||
LDLIBS += -L/lib -lwsock32 -lssh2
|
||||
endif
|
||||
|
||||
CXX += -I include -I.
|
||||
|
Loading…
Reference in New Issue
Block a user