checkpolicy: use includes and libsepol.a from $ROOT

Not sure why this is static instead of dynamic in the first place, but
at least this fixes the build error caused by using the SDK root.
This commit is contained in:
Michael Marineau 2015-08-14 15:49:44 -07:00
parent f932e4d950
commit c3e0c54d9e

View File

@ -34,7 +34,10 @@ src_prepare() {
}
src_compile() {
emake CC="$(tc-getCC)" YACC="bison -y" LIBDIR="\$(PREFIX)/$(get_libdir)"
emake CC="$(tc-getCC)" YACC="bison -y" \
INCLUDEDIR="${ROOT}\$(PREFIX)/include"
LIBDIR="\$(PREFIX)/$(get_libdir)" \
LDLIBS="${ROOT}\$(LIBDIR)/libsepol.a -lfl"
}
src_install() {