[vlc-commits] macOS build.sh: Drop symbols for older macOS / iOS versions

David Fuhrmann git at videolan.org
Sat Apr 21 19:45:40 CEST 2018


vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Sat Apr 21 18:51:07 2018 +0200| [5f2a3b37a4c5469ef3c254f0a8c79f5cccdba871] | committer: David Fuhrmann

macOS build.sh: Drop symbols for older macOS / iOS versions

vlc.git will now target macOS 10.10 or higher, therefore some
symbols can be enabled now, as they are available.

The full list of dropped symbols with their minimum version is:
- export ac_cv_func_ffsll=no # 10.9 / ios7
- export ac_cv_func_flsll=no # 10.9 / ios7
- export ac_cv_func_fdopendir=no # 10.10 / ios8
- export ac_cv_func_openat=no # 10.10 / ios8
- export ac_cv_func_fstatat=no # 10.10 / ios8
- export ac_cv_func_readlinkat=no # 10.10 / ios8

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5f2a3b37a4c5469ef3c254f0a8c79f5cccdba871
---

 extras/package/macosx/env.build.sh | 19 +++++--------------
 1 file changed, 5 insertions(+), 14 deletions(-)

diff --git a/extras/package/macosx/env.build.sh b/extras/package/macosx/env.build.sh
index 40f2f65aee..e6ed9ba094 100755
--- a/extras/package/macosx/env.build.sh
+++ b/extras/package/macosx/env.build.sh
@@ -45,16 +45,18 @@ vlcSetBaseEnvironment() {
 vlcSetSymbolEnvironment() {
     echo "Setting symbol environment"
 
-    # The following symbols do not exist on the minimal macOS version (10.7), so they are disabled
+    # The following symbols do not exist on the minimal macOS / iOS, so they are disabled
     # here. This allows compilation also with newer macOS SDKs.
-    # Added symbols in 10.13
+    # List assumes macOS 10.10 / iOS 8 at minimum.
+
+    # Added symbols in macOS 10.13 / iOS 11 / watchOS 4
     export ac_cv_func_open_wmemstream=no
     export ac_cv_func_fmemopen=no
     export ac_cv_func_open_memstream=no
     export ac_cv_func_futimens=no
     export ac_cv_func_utimensat=no
 
-    # Added symbols between 10.11 and 10.12
+    # Added symbols in macOS 10.12 / iOS 10 / watchOS 3
     export ac_cv_func_basename_r=no
     export ac_cv_func_clock_getres=no
     export ac_cv_func_clock_gettime=no
@@ -63,17 +65,6 @@ vlcSetSymbolEnvironment() {
     export ac_cv_func_getentropy=no
     export ac_cv_func_mkostemp=no
     export ac_cv_func_mkostemps=no
-
-    # Added symbols between 10.7 and 10.11
-    export ac_cv_func_ffsll=no
-    export ac_cv_func_flsll=no
-    export ac_cv_func_fdopendir=no
-    export ac_cv_func_openat=no
-    export ac_cv_func_fstatat=no
-    export ac_cv_func_readlinkat=no
-
-    # libnetwork does not exist yet on 10.7 (used by libcddb)
-    export ac_cv_lib_network_connect=no
 }
 
 vlcSetContribEnvironment() {



More information about the vlc-commits mailing list