diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-admin/setools/files/setools-3.3.8-no-check-file.patch |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-admin/setools/files/setools-3.3.8-no-check-file.patch')
-rw-r--r-- | app-admin/setools/files/setools-3.3.8-no-check-file.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/app-admin/setools/files/setools-3.3.8-no-check-file.patch b/app-admin/setools/files/setools-3.3.8-no-check-file.patch new file mode 100644 index 000000000000..31848e9564b8 --- /dev/null +++ b/app-admin/setools/files/setools-3.3.8-no-check-file.patch @@ -0,0 +1,15 @@ +there's no real need to run AC_CHECK_FILE to see if a file exists. if the +static link fails later on, then the static lib didn't exist. this also +breaks cross-compiling. + +--- a/configure.ac ++++ b/configure.ac +@@ -448,8 +448,6 @@ + sepol_srcdir="") + if test "x${sepol_srcdir}" = "x"; then + sepol_srcdir=${sepol_devel_libdir} +- AC_CHECK_FILE([${sepol_srcdir}/libsepol.a],, +- AC_MSG_ERROR([make sure libsepol-static is installed])) + else + AC_MSG_CHECKING([for compatible sepol source tree]) + sepol_version=${sepol_srcdir}/VERSION |