Skip to content

Commit

Permalink
Travis (Mac): better handling of dependent library version changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Charlie Fenton committed Oct 27, 2017
1 parent 5967ee6 commit 63d27c6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions 3rdParty/buildMacDependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,14 @@ download_and_build() {
# already built but not for correct architectures so force rebuild
doClean="-clean"
fi
else
# tell subsequent scripts to build everything from scratch
doClean="-clean"
# delete any FILEFLAGS for other versions of this library built previously
BASENAME="${DIRNAME%-*}"
rm -f "${PREFIX}/${BASENAME}"*
# delete any previous build of this library (may be redundant with -clean)
rm -f "${PREFIX}/lib/${PRODUCTNAME}"
fi
if [ ! -d ${DIRNAME} ]; then
if [ ! -e ${FILENAME} ]; then
Expand Down

0 comments on commit 63d27c6

Please sign in to comment.