Preliminary blocking --enable-libcdio if CFLAGS, LDFLAGS contain option -static
This commit is contained in:
parent
d812835323
commit
22d552ad60
@ -406,7 +406,15 @@ then
|
||||
echo "WARNING: could not enable use of libcdio as system adapter"
|
||||
fi
|
||||
else
|
||||
echo "enabled use of libcdio as system adapter"
|
||||
if echo " $CFLAGS $LDFLAGS " | grep ' -static ' >/dev/null
|
||||
then
|
||||
echo "WARNING : found option -static in CFLAGS or LDFLAGS"
|
||||
echo "WARNING : libcdio API conflicts with inner symbols of xorriso"
|
||||
echo "WARNING : use of libcdio as system adapter disabled"
|
||||
LIBCDIO_DEF=
|
||||
else
|
||||
echo "enabled use of libcdio as system adapter"
|
||||
fi
|
||||
fi
|
||||
if test x$LIBCDIO_DEF = x-DLibburn_use_libcdiO
|
||||
then
|
||||
|
Loading…
Reference in New Issue
Block a user