Merge commit '0d8013b88b1cb7d65da891a8819d3beebafb9bb5'
authorJames Almer <jamrial@gmail.com>
Sat, 21 Oct 2017 15:50:49 +0000 (12:50 -0300)
committerJames Almer <jamrial@gmail.com>
Sat, 21 Oct 2017 15:50:49 +0000 (12:50 -0300)
* commit '0d8013b88b1cb7d65da891a8819d3beebafb9bb5':
  configure: Replace -no_weak_symbols with -Werror=partial-availability

Merged-by: James Almer <jamrial@gmail.com>
configure

index 36279d5..4f3355c 100755 (executable)
--- a/configure
+++ b/configure
@@ -5039,7 +5039,7 @@ case $target_os in
         enabled x86_32 && append SHFLAGS -Wl,-read_only_relocs,suppress
         strip="${strip} -x"
         add_ldflags -Wl,-dynamic,-search_paths_first
-        check_ldflags -Wl,-no_weak_imports
+        check_cflags -Werror=partial-availability
         SLIBSUF=".dylib"
         SLIBNAME_WITH_VERSION='$(SLIBPREF)$(FULLNAME).$(LIBVERSION)$(SLIBSUF)'
         SLIBNAME_WITH_MAJOR='$(SLIBPREF)$(FULLNAME).$(LIBMAJOR)$(SLIBSUF)'