Skip to content

Commit ef2ca57

Browse files
committed
polish makefile
1 parent 23e369d commit ef2ca57

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ ifeq ($(UNAME_S),Linux) # Linux
5151
ifneq ($(portable),)
5252
LIB += -static-libgcc -static-libstdc++
5353
ifneq ($(opt_lib),)
54-
LIB = $(HTSLIB) $(ABPOA_LIB) $(WFA2_LIB) -static-libgcc -static-libstdc++ -L${opt_lib} -lm -lz -lpthread -llzma -lbz2 -lcurl -lssl -lcrypto -lssh2 -ldeflate -lzstd
54+
LIB = $(HTSLIB) $(ABPOA_LIB) $(WFA2_LIB) -static-libgcc -static-libstdc++ -L${opt_lib} -lm -lz -lpthread -llzma -lbz2 -lcurl -lssl -lcrypto -lssh2 -Wl,-Bstatic -ldeflate -Wl,-Bdynamic -lzstd
5555
else
5656
ifneq ($(OPT_LIB),)
57-
LIB = $(HTSLIB) $(ABPOA_LIB) $(WFA2_LIB) -static-libgcc -static-libstdc++ -L${OPT_LIB} -lm -lz -lpthread -llzma -lbz2 -lcurl -lssl -lcrypto -lssh2 -ldeflate -lzstd
57+
LIB = $(HTSLIB) $(ABPOA_LIB) $(WFA2_LIB) -static-libgcc -static-libstdc++ -L${OPT_LIB} -lm -lz -lpthread -llzma -lbz2 -lcurl -lssl -lcrypto -lssh2 -Wl,-Bstatic -ldeflate -Wl,-Bdynamic -lzstd
5858
endif
5959
endif
6060
endif

0 commit comments

Comments
 (0)