Skip to content

Commit

Permalink
Invalid link order result in linker failure mozilla#735
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandre Lissy committed Jul 26, 2017
1 parent 00b1d97 commit 6a55aaf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion native_client/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ endif

OS := $(shell uname -s)
CFLAGS += -L${TFDIR}/bazel-bin/tensorflow -L${TFDIR}/bazel-bin/native_client $(EXTRA_CFLAGS)
LDFLAGS += -ltensorflow_cc -ldeepspeech -ldeepspeech_utils $(EXTRA_LDFLAGS)
LDFLAGS += -ldeepspeech -ldeepspeech_utils -ltensorflow_cc $(EXTRA_LDFLAGS)

META_LD_LIBRARY_PATH := LD_LIBRARY_PATH
ifeq ($(OS),Darwin)
Expand Down
2 changes: 1 addition & 1 deletion native_client/javascript/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"target_name": "deepspeech",
"sources": [ "deepspeech_wrap.cxx" ],
"libraries": [
"-ltensorflow_cc", "-ldeepspeech", "-ldeepspeech_utils"
"-ldeepspeech", "-ldeepspeech_utils", "-ltensorflow_cc"
],
"include_dirs": [
"../"
Expand Down

0 comments on commit 6a55aaf

Please sign in to comment.