Skip to content

Commit 0fb9573

Browse files
Clement Champetiercchampet
authored andcommitted
Travis: added libbz2 to dependencies to deploy
* libavformat depends on libbz2.so.1.0 * Most linux distribution has libbz2.so, but sometimes without the symbolic link 'libbz2.so.1.0'. It causes that our deployed libavformat cannot be loaded on Fedora distribution for example. * This commit fixes this issue.
1 parent 6c4eaca commit 0fb9573

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ after_success:
8383
- if [ ${ENABLE_COVERAGE} ]; then ./tools/travis.gcc.generate.coverage.sh; fi
8484

8585
before_deploy:
86+
# copy libbz2, external dependency of libavformat
87+
- if [ ${TRAVIS_OS_NAME} = "linux" ]; then cp /lib/x86_64-linux-gnu/{libbz2.so.1,libbz2.so.1.0,libbz2.so.1.0.4} ${DEPENDENCY_INSTALL_PATH}; fi
8688
# create archive
8789
- cd ${TRAVIS_BUILD_DIR}
8890
- tar -cvzf avtranscoder-${TRAVIS_OS_NAME}-${CC}-${DEPENDENCY_MODE}.tgz ${DEPENDENCY_INSTALL} ${AVTRANSCODER_INSTALL}

0 commit comments

Comments
 (0)