Skip to content

Commit

Permalink
[build] Fix linking with tcmalloc (#4626)
Browse files Browse the repository at this point in the history
  • Loading branch information
csukuangfj committed Sep 10, 2021
1 parent eb139a0 commit 070437f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/configure
Expand Up @@ -1307,7 +1307,7 @@ if $enable_tcmalloc ; then
TCMALLOC_ROOT=$(rel2abs ../tools/gperftools)
echo "Configuring tcmalloc since --enable-tcmalloc"
if [ "$(uname)" == "Linux" ]; then
echo "LDLIBS += -Wl,-rpath=$TCMALLOC_ROOT/lib -ltcmalloc_minimal" >> kaldi.mk
echo "LDLIBS += -Wl,-rpath=$TCMALLOC_ROOT/lib -L$TCMALLOC_ROOT/lib -ltcmalloc_minimal" >> kaldi.mk
else
failure "Now, --enable-tcmalloc option is only supported for Linux"
fi
Expand Down

0 comments on commit 070437f

Please sign in to comment.