remove-weak_import-check-for-osx.patch (xbmc-18.7.1-Leia) | : | remove-weak_import-check-for-osx.patch (xbmc-18.8-Leia) | ||
---|---|---|---|---|
+++ b/configure.ac 2020-01-25 08:26:38.846233553 -0800 | --- a/configure.ac | |||
@@ -122,14 +122,6 @@ | @@ -141,14 +141,6 @@ | |||
;; | ;; | |||
*darwin*) | *darwin*) | |||
have_macosx=yes | have_macosx=yes | |||
- save_LDFLAGS="$LDFLAGS" | - save_LDFLAGS="$LDFLAGS" | |||
- dnl Try to use -no_weak_imports if available. This makes sure we | - dnl Try to use -no_weak_imports if available. This makes sure we | |||
- dnl error out when linking to a function that doesn't exist in the | - dnl error out when linking to a function that doesn't exist in the | |||
- dnl intended minimum runtime version. | - dnl intended minimum runtime version. | |||
- LDFLAGS="$LDFLAGS -Wl,-no_weak_imports" | - LDFLAGS="$LDFLAGS -Wl,-no_weak_imports" | |||
- AC_MSG_CHECKING([whether the linker supports -Wl,-no_weak_imports]) | - AC_MSG_CHECKING([whether the linker supports -Wl,-no_weak_imports]) | |||
- AC_LINK_IFELSE([AC_LANG_PROGRAM([], [])], | - AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <sys/select.h>], [fd_set rfds; FD _ZERO(&rfds); FD_SET(0, &rfds);])], | |||
- [AC_MSG_RESULT(yes)], [AC_MSG_RESULT(no); LDFLAGS="$save_LDFLAGS"]) | - [AC_MSG_RESULT(yes)], [AC_MSG_RESULT(no); LDFLAGS="$save_LDFLAGS"]) | |||
;; | ;; | |||
*solaris*) | *solaris*) | |||
have_elf=yes | have_elf=yes | |||
End of changes. 2 change blocks. | ||||
3 lines changed or deleted | 3 lines changed or added |