Skip to content

Commit

Permalink
Patched makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Bobalot committed Mar 18, 2013
1 parent 3697adb commit 2fa5074
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions src/makefile.osx
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,21 @@
# Originally by Laszlo Hanyecz (solar@heliacal.net)

CXX=llvm-g++
DEPSDIR=/opt/local
DEPSDIR=/usr/local
DB4DIR=/usr/local/opt/berkeley-db4
OPENSSLDIR=/usr/local/opt/openssl

INCLUDEPATHS= \
-I"$(CURDIR)" \
-I"$(CURDIR)"/obj \
-I"$(CURDIR)/obj" \
-I"$(DEPSDIR)/include" \
-I"$(DEPSDIR)/include/db48"
-I"$(DB4DIR)/include" \
-I"$(OPENSSLDIR)/include"

LIBPATHS= \
-L"$(DEPSDIR)/lib" \
-L"$(DEPSDIR)/lib/db48"
-L"$(DB4DIR)/lib" \
-L"$(OPENSSLDIR)/lib"

USE_UPNP:=1
USE_IPV6:=1
Expand All @@ -31,13 +35,13 @@ ifdef STATIC
TESTLIBS += \
$(DEPSDIR)/lib/libboost_unit_test_framework-mt.a
LIBS += \
$(DEPSDIR)/lib/db48/libdb_cxx-4.8.a \
$(DB4DIR)/lib/libdb_cxx-4.8.a \
$(DEPSDIR)/lib/libboost_system-mt.a \
$(DEPSDIR)/lib/libboost_filesystem-mt.a \
$(DEPSDIR)/lib/libboost_program_options-mt.a \
$(DEPSDIR)/lib/libboost_thread-mt.a \
$(DEPSDIR)/lib/libssl.a \
$(DEPSDIR)/lib/libcrypto.a \
$(OPENSSLDIR)/lib/libssl.a \
$(OPENSSLDIR)/lib/libcrypto.a \
-lz
else
TESTLIBS += \
Expand Down

0 comments on commit 2fa5074

Please sign in to comment.