mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-22 15:01:00 +02:00
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:
parent
f932e4d950
commit
c3e0c54d9e
@ -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() {
|
Loading…
x
Reference in New Issue
Block a user