Changeset 12c5a3d in subsurface


Ignore:
Timestamp:
Apr 1, 2017, 8:08:16 AM (6 months ago)
Author:
Dirk Hohndel <dirk@…>
Branches:
master
Children:
b5f203c
Parents:
b919a9d
git-author:
Stefan Fuchs <sfuchs@…> (03/31/17 13:34:57)
git-committer:
Dirk Hohndel <dirk@…> (04/01/17 08:08:16)
Message:

Fix mxe-build script to copy correct plugin DLLs for debug and release

For the plugin DDLs:
Debug: Only copy *d.DLLs
Release: Only copy *.DLLs

Signed-off-by: Stefan Fuchs <sfuchs@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packaging/windows/mxe-based-build.sh

    r0b59954 r12c5a3d  
    292292for d in $QT_PLUGIN_DIRECTORIES
    293293do
    294     cp -a $d $STAGING_DIR/plugins
    295     cp -a $d $STAGING_TESTS_DIR
     294        mkdir -p $STAGING_DIR/plugins/$(basename $d)
     295        mkdir -p $STAGING_TESTS_DIR/$(basename $d)
     296        for f in $d/*
     297        do
     298                if [[ "$RELEASE" == "Release" ]] && ([[ ! -f ${f//d.dll/.dll} || "$f" == "${f//d.dll/.dll}" ]]) ; then
     299                        cp $f $STAGING_DIR/plugins/$(basename $d)
     300                        cp $f $STAGING_TESTS_DIR/$(basename $d)
     301                elif [[ "$RELEASE" == "Debug" && ! -f ${f//.dll/d.dll} ]] ; then
     302                        cp $f $STAGING_DIR/plugins/$(basename $d)
     303                        cp $f $STAGING_TESTS_DIR/$(basename $d)
     304                fi
     305        done
    296306done
    297307
Note: See TracChangeset for help on using the changeset viewer.