Skip to content

Commit

Permalink
Note concatenating archive on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
arlolra committed Feb 16, 2016
1 parent 707f2c7 commit e1e1256
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,12 @@ popd

echo "Concatenating libraries ..."
pushd $WEBRTC_SRC/out/$CONFIG
ls *.a > filelist
libtool -static -o libwebrtc-magic.a -filelist filelist
# on osx:
# ls *.a > filelist
# libtool -static -o libwebrtc-magic.a -filelist filelist
# strip -S -x -o libwebrtc-magic.a libwebrtc-magic.a
# on linux:
# ar crs libwebrtc-magic.a $(find . -name '*.o' -not -name '*.main.o')
mv libwebrtc-magic.a $LIB_DIR/libwebrtc-$OS-$ARCH-magic.a
popd

Expand Down

0 comments on commit e1e1256

Please sign in to comment.