Skip to content

Commit

Permalink
Finish Hotfix-6
Browse files Browse the repository at this point in the history
Forcing portcullis library to be static only.  This avoids both underlinking boost and any chance that boost needs to be dynamically linked at runtime.
  • Loading branch information
maplesond committed May 11, 2018
2 parents 34e5353 + cfa6342 commit 25358bd
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions lib/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,17 @@ lib_LTLIBRARIES = libportcullis.la
# Library inputs
libportcullis_la_LDFLAGS = \
-version-info 19:0:19 \
-L$(top_builddir)/deps/boost/build/lib/ \
-static \
@AM_LDFLAGS@

LIBS = \
EXTRA_libportcullis_la_DEPENDENCIES = \
$(top_builddir)/deps/boost/build/lib/libboost_timer.a \
$(top_builddir)/deps/boost/build/lib/libboost_chrono.a \
$(top_builddir)/deps/boost/build/lib/libboost_filesystem.a \
$(top_builddir)/deps/boost/build/lib/libboost_system.a


libportcullis_la_LIBADD = \
$(top_builddir)/deps/htslib-1.3/libphts.la \
$(top_builddir)/deps/ranger-0.3.8/libranger.la \
-lz \
Expand Down Expand Up @@ -72,4 +79,5 @@ libportcullis_la_CXXFLAGS = \
-m64 \
-Wno-unused-function -Wno-unused-variable -Wno-ignored-qualifiers \
-Wall \
-fPIC \
@AM_CXXFLAGS@

0 comments on commit 25358bd

Please sign in to comment.