Skip to content

Commit

Permalink
Fix Python mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexpux committed Oct 4, 2013
1 parent c9d2638 commit 9f45035
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions library/subtargets.sh
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ function fun_get_subtargets {
local readonly SUBTARGETS=( local readonly SUBTARGETS=(
zlib zlib
${PYTHON_SUBTARGETS[@]} ${PYTHON_SUBTARGETS[@]}
3rdparty-post
cleanup cleanup
licenses licenses
build-info build-info
Expand Down
6 changes: 5 additions & 1 deletion scripts/3rdparty-post.sh
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -38,7 +38,11 @@
[[ ! -f $BUILDS_DIR/3rdparty-post.marker ]] && { [[ ! -f $BUILDS_DIR/3rdparty-post.marker ]] && {
DLLS=( $(find $LIBS_DIR/bin -type f -name *.dll) ) DLLS=( $(find $LIBS_DIR/bin -type f -name *.dll) )
[[ ${#DLLS[@]} >0 ]] && { [[ ${#DLLS[@]} >0 ]] && {
cp -f ${DLLS[@]} $PREFIX/opt/bin/ >/dev/null 2>&1 [[ $BUILD_MODE == gcc ]] && {
cp -f ${DLLS[@]} $PREFIX/opt/bin/ >/dev/null 2>&1
} || {
cp -f ${DLLS[@]} $PREFIX/bin/ >/dev/null 2>&1
}
} }
touch $BUILDS_DIR/3rdparty-post.marker touch $BUILDS_DIR/3rdparty-post.marker
} }
Expand Down

0 comments on commit 9f45035

Please sign in to comment.