ports/security/integrit/patches/patch-configure_in

13 lines
430 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: configure.in
--- configure.in.orig
+++ configure.in
@@ -78,7 +78,7 @@ dnl At least under OSX static linking cannot be used d
AC_MSG_CHECKING([whether static linking is possible])
LDFLAGS_ORIG="$LDFLAGS"
LDFLAGS="$LDFLAGS $STATIC"
-AC_TRY_LINK(, [int main() { return 0; }], AC_MSG_RESULT(yes),
+AC_TRY_LINK(, [], AC_MSG_RESULT(yes),
[
AC_MSG_RESULT(no)
AC_MSG_WARN(integrit will be built without static linking)