diff --git a/xorriso/configure_ac.txt b/xorriso/configure_ac.txt index 219d67fb..bfb5d3fe 100644 --- a/xorriso/configure_ac.txt +++ b/xorriso/configure_ac.txt @@ -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