Last active
December 30, 2015 05:49
-
-
Save BlinkyStitt/7784949 to your computer and use it in GitHub Desktop.
get osx working
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/configure.ac b/configure.ac | |
index 5ad6e6d..c07566f 100644 | |
--- a/configure.ac | |
+++ b/configure.ac | |
@@ -64,6 +64,9 @@ AC_ARG_WITH([pkgconfigdir], AS_HELP_STRING([--with-pkgconfigdir=PATH], | |
[pkgconfigdir="$withval"], [pkgconfigdir='${libdir}/pkgconfig']) | |
AC_SUBST([pkgconfigdir]) | |
+AC_SUBST(EXTRA_CFLAGS) | |
+AC_SUBST(EXTRA_LDFLAGS) | |
+ | |
AC_CONFIG_FILES([Makefile include/bitcoin/Makefile src/Makefile libbitcoin.pc]) | |
AC_OUTPUT | |
diff --git a/libbitcoin.pc.in b/libbitcoin.pc.in | |
index 81880f3..dbb9961 100644 | |
--- a/libbitcoin.pc.in | |
+++ b/libbitcoin.pc.in | |
@@ -7,8 +7,6 @@ Name: libbitcoin | |
Description: Rewrite bitcoin, make it super-pluggable, very easy to do and hack everything at every level, and very configurable. | |
URL: http://libbitcoin.dyne.org | |
Version: @PACKAGE_VERSION@ | |
-Requires: libcurl | |
-Cflags: -I${includedir} -std=c++11 @CFLAG_LEVELDB@ | |
-Libs: -L${libdir} -lbitcoin -lboost_thread -lboost_system -lboost_regex -lboost_filesystem -lpthread -lcurl @LDFLAG_LEVELDB@ | |
-Libs.private: -lcrypto -ldl -lz | |
- | |
+Requires: libcurl, openssl | |
+Cflags: -I${includedir} @EXTRA_CFLAGS@ -std=c++11 @CFLAG_LEVELDB@ | |
+Libs: -L${libdir} @EXTRA_LDFLAGS@ -lbitcoin -lboost_filesystem -lboost_regex -lboost_system -lboost_thread-mt @LDFLAG_LEVELDB@ -lpthread | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment