From 2f8b3ee6bcec600ae1f943ebe37894abd48de2a5 Mon Sep 17 00:00:00 2001 From: Tim Warren Date: Thu, 30 Apr 2015 12:08:35 -0400 Subject: [PATCH] Makefile tweak for static library linkiing of OS X App bundle --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index d62c7c3..f3994f2 100644 --- a/Makefile +++ b/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.