Fix the "Dummy.h" test

It failed for not finding the libApp library. It will probably fail
again on platforms that do not support LD_LIBRARY_PATH.
This commit is contained in:
Pierre Pronchery 2015-05-11 01:12:58 +02:00
parent 68ec418ad2
commit adf28dcfad
2 changed files with 1 additions and 2 deletions

View File

@ -8,7 +8,6 @@ dist=Makefile,tests.sh
[Dummy.h]
type=script
#FIXME breaks when OBJDIR is set
script=../tools/appbroker.sh -O APPBROKER=../tools/AppBroker
depends=../data/Dummy.interface,../tools/appbroker.sh

View File

@ -70,4 +70,4 @@ target="$1"
source="${target#$OBJDIR}"
APPINTERFACE="${source##*/}"
APPINTERFACE="../data/${APPINTERFACE%%.h}.interface"
$APPBROKER -o "$target" "$APPINTERFACE"
LD_LIBRARY_PATH="${OBJDIR}../src" $APPBROKER -o "$target" "$APPINTERFACE"