Last active
January 1, 2016 08:49
-
-
Save BlinkyStitt/8120972 to your computer and use it in GitHub Desktop.
old osx bitcoin brew patch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/makefile.osx b/src/makefile.osx | |
index 50279fd..6ab92b1 100644 | |
--- a/src/makefile.osx | |
+++ b/src/makefile.osx | |
@@ -7,18 +7,22 @@ | |
# Originally by Laszlo Hanyecz ([email protected]) | |
CXX=llvm-g++ | |
DEPSDIR=/opt/local | |
+DB4DIR=$(DEPSDIR)/opt/berkeley-db4 | |
+OPENSSLDIR=$(DEPSDIR)/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 | |
@@ -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/libboost_chrono-mt.a \ | |
- $(DEPSDIR)/lib/libssl.a \ | |
- $(DEPSDIR)/lib/libcrypto.a \ | |
+ $(OPENSSLDIR)/lib/libssl.a \ | |
+ $(OPENSSLDIR)/lib/libcrypto.a \ | |
-lz | |
else | |
TESTLIBS += \ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment