diff --git a/libselinux/src/exception.sh b/libselinux/src/exception.sh index c3e61a58..b7cff7e0 100755 --- a/libselinux/src/exception.sh +++ b/libselinux/src/exception.sh @@ -15,6 +15,6 @@ echo " ;; esac } -gcc -x c -c - -aux-info temp.aux < ../include/selinux/selinux.h +gcc -x c -c -I../include - -aux-info temp.aux < ../include/selinux/selinux.h for i in `awk '/.*extern int/ { print $6 }' temp.aux`; do except $i ; done rm -f -- temp.aux -.o diff --git a/libsemanage/src/exception.sh b/libsemanage/src/exception.sh index 8693fb78..94619d27 100644 --- a/libsemanage/src/exception.sh +++ b/libsemanage/src/exception.sh @@ -9,6 +9,6 @@ echo " } " } -gcc -x c -c - -aux-info temp.aux < ../include/semanage/semanage.h +gcc -x c -c -I../include - -aux-info temp.aux < ../include/semanage/semanage.h for i in `awk '/extern int/ { print $6 }' temp.aux`; do except $i ; done rm -f -- temp.aux -.o