aboutsummaryrefslogtreecommitdiffstats
path: root/community/namecoin/20-boost-multithread-dynamic.patch
blob: 4adf46f3495a1a5b536c9ce53b0aff5b920e6ee2 (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
--- namecoin-nc*/src/Makefile
+++ namecoin-nc*/src/Makefile
@@ -9,24 +9,20 @@
 DEFS += -DBOOST_THREAD_USE_LIB
 
 INCLUDEPATHS= \
-	-I../libs/openssl-1.0.1i/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.1i \
-	-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