Skip to content

Commit

Permalink
Merge pull request #3452 from bakercp/apothecary-formulae
Browse files Browse the repository at this point in the history
Apothecary formulae
  • Loading branch information
bakercp committed Nov 25, 2014
2 parents b7981b6 + 4c3b062 commit 6106335
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions scripts/apothecary/formulas/openssl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -507,20 +507,18 @@ function copy() {
# storing a copy of the include in lib/include/
# set via: cp -R "build/$TYPE/x86_64/include/" "lib/include/"

rm -r $1/lib/$TYPE/*
# suppress file not found errors
rm -rf $1/lib/$TYPE/* 2> /dev/null

# libs
if [ "$TYPE" == "osx" ] ; then
echoWarning "TODO: copy $TYPE lib"
# mkdir -p $1/lib/$TYPE
# cp -v lib/Darwin/*.a $1/lib/$TYPE
if [ "$TYPE" == "osx" ] ; then
cp -Rv lib/include/ $1/include/
mkdir -p $1/lib/$TYPE
cp -v lib/$TYPE/*.a $1/lib/$TYPE
elif [ "$TYPE" == "ios" ] ; then
cp -Rv lib/include/ $1/include/
mkdir -p $1/lib/$TYPE
cp -v lib/$TYPE/*.a $1/lib/$TYPE
elif [ "$TYPE" == "osx" ] ; then
mkdir -p $1/lib/$TYPE
cp -v lib/$TYPE/*.a $1/lib/$TYPE
# elif [ "$TYPE" == "vs" ] ; then
# mkdir -p $1/lib/$TYPE
# cp -v lib/*.lib $1/lib/$TYPE
Expand Down

0 comments on commit 6106335

Please sign in to comment.