Properly build the swig exception file even if the headers are missing
PATCH 1/1 Properly build the swig exception file even if the headers are missing
From: Laurent Bigonville <[email protected]>
During build if the headers are not installed in the system path, the generated swig exception (.i) file might be empty.
--- libselinux/src/exception.sh | 2 +- libsemanage/src/exception.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
libselinux/src/exception.sh +1 -1
@@ -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 '/<stdin>.*extern int/ { print $6 }' temp.aux`; do except $i ; done rm -f -- temp.aux -.o
libsemanage/src/exception.sh +1 -1
@@ -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
Signature · 7 lines
1.8.3.rc2 -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Hi,
Since you are busy merging stuffs, could somebody have a look at this patch please (aka ping message)?
Cheers
Laurent Bigonville
Quoted 31 lines · Laurent Bigonville
From: Laurent Bigonville <[email protected]>
During build if the headers are not installed in the system path, the generated swig exception (.i) file might be empty.
--- libselinux/src/exception.sh | 2 +- libsemanage/src/exception.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)libselinux/src/exception.sh +1
-1@@ -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.hfor i inawk '/<stdin>.*extern int/ { print $6 }' temp.aux; do except $i ; done rm -f -- temp.aux -.o(quoted diff) +0
-0
b/libsemanage/src/exception.shindex 8693fb7..94619d2 100644libsemanage/src/exception.sh +1
-1@@ -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
Quoted 2 lines
<
../include/semanage/semanage.hfor i inawk '/extern int/ { print $6 }' temp.aux; do except $i ; done rm -f -- temp.aux -.o
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 4 lines · Laurent Bigonville
Hi,
Since you are busy merging stuffs, could somebody have a look at this patch please (aka ping message)?
Thanks, I had missed it. Merged.
Quoted 40 lines
Cheers
Laurent Bigonville
Quoted 32 lines · Laurent Bigonville
From: Laurent Bigonville <[email protected]>
During build if the headers are not installed in the system path, the generated swig exception (.i) file might be empty.
--- libselinux/src/exception.sh | 2 +- libsemanage/src/exception.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)libselinux/src/exception.sh +1
-1@@ -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.hfor i inawk '/<stdin>.*extern int/ { print $6 }' temp.aux; do except $i ; done rm -f -- temp.aux -.o(quoted diff) +0
-0
b/libsemanage/src/exception.shindex 8693fb7..94619d2 100644libsemanage/src/exception.sh +1
-1@@ -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.hfor i in `awk '/extern int/ { print
Quoted 9 lines
Quoted 1 line
$6 }' temp.aux`; do except $i ; done rm -f -- temp.aux -.o
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.