Skip to content

Commit

Permalink
Remove static linking option.
Browse files Browse the repository at this point in the history
  • Loading branch information
dshawul committed Jun 19, 2018
1 parent 6156003 commit 59644bb
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions Makefile
Expand Up @@ -47,11 +47,6 @@ TF_INC+=-I$(TF_DIR_INC)/tensorflow/contrib/makefile/gen/proto
TF_INC+=-I$(TF_DIR_INC)/tensorflow/contrib/makefile/gen/proto_text
TF_INC+=-I$(TF_DIR_INC)/tensorflow/contrib/makefile/gen/protobuf-host/include

#static linking
#TF_LIB = -Wl,--whole-archive ${TF_DIR_LIB}/libtensorflow-core.a -Wl,--no-whole-archive
#TF_LIB += $(TF_DIR_LIB)/libprotobuf.a $(TF_DIR_LIB)/nsync.a

#dynamic linking
TF_LIB = -Wl,-rpath=$(TF_DIR_LIB)
TF_LIB += $(TF_DIR_LIB)/libprotobuf.a
TF_LIB += -Wl,-Bdynamic $(TF_DIR_LIB)/libtensorflow_cc.so
Expand Down

0 comments on commit 59644bb

Please sign in to comment.