No longer require AppBroker(1) to be installed
The tests still do not pass without installing libApp though.
This commit is contained in:
parent
6d1bdd2eb8
commit
b3ee4a2e87
|
@ -1,5 +1,5 @@
|
||||||
targets=Dummy.h,appclient,appmessage,appserver,includes,lookup,tests.log,transport
|
targets=Dummy.h,appclient,appmessage,appserver,includes,lookup,tests.log,transport
|
||||||
cppflags_force=-I ../include
|
cppflags_force=-I ../include -isystem .
|
||||||
cflags_force=`pkg-config --cflags libSystem`
|
cflags_force=`pkg-config --cflags libSystem`
|
||||||
cflags=-W -Wall -g -O2 -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector-all
|
cflags=-W -Wall -g -O2 -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector-all
|
||||||
ldflags_force=`pkg-config --libs libSystem` -L$(OBJDIR)../src -Wl,-rpath,$(OBJDIR)../src -lApp
|
ldflags_force=`pkg-config --libs libSystem` -L$(OBJDIR)../src -Wl,-rpath,$(OBJDIR)../src -lApp
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
#variables
|
#variables
|
||||||
PROGNAME="appbroker.sh"
|
PROGNAME="appbroker.sh"
|
||||||
#executables
|
#executables
|
||||||
APPBROKER="AppBroker"
|
APPBROKER=
|
||||||
DEBUG="_debug"
|
DEBUG="_debug"
|
||||||
|
|
||||||
|
|
||||||
|
@ -85,6 +85,15 @@ fi
|
||||||
|
|
||||||
[ "$clean" -ne 0 ] && exit 0
|
[ "$clean" -ne 0 ] && exit 0
|
||||||
|
|
||||||
|
if [ -n "$PKG_CONFIG_SYSROOT_DIR" ]; then
|
||||||
|
#XXX cross-compiling (requires AppBroker(1) installed)
|
||||||
|
APPBROKER="AppBroker$EXEEXT"
|
||||||
|
elif [ -z "$APPBROKER" ]; then
|
||||||
|
APPBROKER="$OBJDIR../tools/AppBroker$EXEEXT"
|
||||||
|
#XXX ugly workaround
|
||||||
|
export LD_LIBRARY_PATH="$OBJDIR../src"
|
||||||
|
fi
|
||||||
|
|
||||||
exec 3>&1
|
exec 3>&1
|
||||||
while [ $# -gt 0 ]; do
|
while [ $# -gt 0 ]; do
|
||||||
target="$1"
|
target="$1"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user