Permalink
Browse files

Fix Python mode.

  • Loading branch information...
1 parent c9d2638 commit 9f45035a5b3071b4b8c7b1863de9d2219dfbbc89 @Alexpux Alexpux committed Oct 4, 2013
Showing with 6 additions and 1 deletion.
  1. +1 −0 library/subtargets.sh
  2. +5 −1 scripts/3rdparty-post.sh
View
1 library/subtargets.sh
@@ -134,6 +134,7 @@ function fun_get_subtargets {
local readonly SUBTARGETS=(
zlib
${PYTHON_SUBTARGETS[@]}
+ 3rdparty-post
cleanup
licenses
build-info
View
6 scripts/3rdparty-post.sh
@@ -38,7 +38,11 @@
[[ ! -f $BUILDS_DIR/3rdparty-post.marker ]] && {
DLLS=( $(find $LIBS_DIR/bin -type f -name *.dll) )
[[ ${#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
}

0 comments on commit 9f45035

Please sign in to comment.