aboutsummaryrefslogtreecommitdiffstats
path: root/testing/namecoin/20-boost-multithread-dynamic.patch
blob: d6cdc2f043bea62f041ce0d2b69cda554af1d3c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
--- a/src/Makefile
+++ b/src/Makefile
@@ -9,27 +9,23 @@
 DEFS += -DBOOST_THREAD_USE_LIB

 INCLUDEPATHS= \
-	-I../libs/openssl-1.0.1e/include \
-	-I../libs/db-4.7.25.NC/build_unix \
-	-I../libs/boost_1_50_0
+	-I/usr/include

 LIBPATHS= \
-	-L../libs/openssl-1.0.1e \
-	-L../libs/db-4.7.25.NC/build_unix \
-	-L../libs/boost_1_50_0/stage/lib
+	-L/usr/lib

 LIBBOOST_SUFFIX=

 LIBS= \
- -Wl,-Bstatic \
+ -Wl,-Bdynamic \
    -l boost_system$(LIBBOOST_SUFFIX) \
    -l boost_filesystem$(LIBBOOST_SUFFIX) \
-   -l boost_program_options$(LIBBOOST_SUFFIX) \
-   -l boost_thread$(LIBBOOST_SUFFIX) \
-   -l boost_chrono$(LIBBOOST_SUFFIX) \
+   -l boost_program_options-mt$(LIBBOOST_SUFFIX) \
+   -l boost_thread-mt$(LIBBOOST_SUFFIX) \
+   -l boost_chrono-mt$(LIBBOOST_SUFFIX) \
    -l db_cxx \
    -l ssl \
-   -l crypto
+   -l crypto

 namecoin: USE_UPNP:=1
	ifdef USE_UPNP