[vlc-commits] macOS build.sh: Deduplicate symbol list, reorder

David Fuhrmann git at videolan.org
Thu Sep 19 14:39:26 CEST 2019


vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Thu Sep 19 14:37:37 2019 +0200| [bf787104258d86945e3a9a6f619083342a2c192c] | committer: David Fuhrmann

macOS build.sh: Deduplicate symbol list, reorder

Deduplicate ac_cv_func_futimens and ac_cv_func_utimensat.
Recorder with ascending OS versions.

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

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

diff --git a/extras/package/macosx/env.build.sh b/extras/package/macosx/env.build.sh
index b640fd3e0d..c749f8dd37 100755
--- a/extras/package/macosx/env.build.sh
+++ b/extras/package/macosx/env.build.sh
@@ -55,13 +55,6 @@ vlcSetSymbolEnvironment() {
     # here. This allows compilation also with newer macOS SDKs.
     # 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 in macOS 10.12 / iOS 10 / watchOS 3
     export ac_cv_func_basename_r=no
     export ac_cv_func_clock_getres=no
@@ -73,9 +66,12 @@ vlcSetSymbolEnvironment() {
     export ac_cv_func_mkostemps=no
     export ac_cv_func_timingsafe_bcmp=no
 
-    # Added symbols in macOS 10.13 / iOS 11 / tvOS 11
-    export ac_cv_func_utimensat=no
+    # Added symbols in macOS 10.13 / iOS 11 / watchOS 4 / tvOS 11
+    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 symbol in macOS 10.14 / iOS 12 / tvOS 9
     export ac_cv_func_thread_get_register_pointer_values=no



More information about the vlc-commits mailing list