Immediately after filing the original bug against libselinux, a test
build discovered this identical bug in libsepol.

The same fix applies - adding exec_prefix:

working version of /usr/arm-linux-gnu/lib/pkgconfig/libsepol.pc

prefix=/usr/arm-linux-gnu
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=/usr/include

Name: libsepol
Description: Security Enhanced Linux policy library
Version: 2.0.25
URL: http://www.nsa.gov/selinux/
Libs: -L${libdir} -lsepol
Cflags: -I${includedir}

The modified /usr/lib/pkgconfig/libsepol.pc is:

prefix=/usr
exec_prefix=${prefix}
libdir=/usr/lib
includedir=/usr/include

Name: libsepol
Description: Security Enhanced Linux policy library
Version: 2.0.25
URL: http://www.nsa.gov/selinux/
Libs: -L${libdir} -lsepol
Cflags: -I${includedir}

The combined changes in libsepol1-dev and libselinux1-dev 
allow e2fsprogs to cross-build successfully.

-- 


Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/

Attachment: signature.asc
Description: Digital signature

Reply via email to