Skip to content

Commit

Permalink
remove troublesome shared libraries from binary
Browse files Browse the repository at this point in the history
  • Loading branch information
rob-p committed Dec 3, 2014
1 parent fe24991 commit 954b425
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/push-binary.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ cp $TRAVIS_BUILD_DIR/lib/libtbb* $HOME/SalmonBeta-latest_ubuntu-12.04/lib/
# copy other dependencies (shared libraries)
echo -e "Copying over other shared library dependencies\n"
bash $TRAVIS_BUILD_DIR/scripts/cpld.bash $TRAVIS_BUILD_DIR/bin/salmon $HOME/SalmonBeta-latest_ubuntu-12.04/lib/
echo -e "Removing dangerous dependencies\n"
rm $HOME/SalmonBeta-latest_ubuntu-12.04/lib/libc.so.6
rm $HOME/SalmonBeta-latest_ubuntu-12.04/lib/ld-linux-x86-64.so.2
rm $HOME/SalmonBeta-latest_ubuntu-12.04/lib/libdl.so.2

# now make the tarball
echo -e "Making the tarball\n"
Expand Down

0 comments on commit 954b425

Please sign in to comment.