diff --git a/tests/project.conf b/tests/project.conf index 35e079e..29957bc 100644 --- a/tests/project.conf +++ b/tests/project.conf @@ -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 diff --git a/tools/appbroker.sh b/tools/appbroker.sh index 77d823e..6ab2e33 100755 --- a/tools/appbroker.sh +++ b/tools/appbroker.sh @@ -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"