File: link_boost_dynamically.patch

package info (click to toggle)
skesa 2.4.0-8
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 996 kB
  • sloc: cpp: 13,399; makefile: 375; sh: 19
file content (21 lines) | stat: -rw-r--r-- 647 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Index: b/Makefile
===================================================================
--- a/Makefile
+++ b/Makefile
@@ -44,14 +44,14 @@ CFLAGS = -Wall -Wno-format-y2k  -pthread
          -fomit-frame-pointer -msse4.2 $(BOOST_INCL) $(NGS_INCL) $(VDB_INCL)
 
 LIBS += -lngs-c++ -lncbi-vdb -lzstd \
-       -Wl,-Bstatic $(BOOST_LIB) \
+       $(BOOST_LIB) \
        -lboost_program_options \
        -lboost_iostreams \
        -lboost_regex \
        -lboost_timer \
        -lboost_chrono \
        -lboost_system \
-       -Wl,-Bdynamic -lrt -ldl -lm  -lpthread -lz
+       -lrt -ldl -lm  -lpthread -lz
 
 %.o: %.cpp
 	$(CC) -c -o $@ $< $(CFLAGS)