[vlc-commits] [Git][videolan/vlc][master] package/macosx: force dup3()/pipe2() undetected (not declared in Apple SDK headers)

Felix Paul Kühne (@fkuehne) gitlab at videolan.org
Wed Jul 15 15:26:16 UTC 2026



Felix Paul Kühne pushed to branch master at VideoLAN / VLC


Commits:
192ecc33 by JustFox at 2026-07-15T17:25:55+02:00
package/macosx: force dup3()/pipe2() undetected (not declared in Apple SDK headers)

- - - - -


1 changed file:

- extras/package/macosx/env.build.sh


Changes:

=====================================
extras/package/macosx/env.build.sh
=====================================
@@ -118,6 +118,9 @@ vlcSetSymbolEnvironment() {
     #
     # ac_cv_prog_cc_c23: autoconf 2.73 adds -std=gnu23 to CC but not OBJC
     #                    breaking libtool's ObjC tag inference.
+    #
+    # ac_cv_func_dup3 / ac_cv_func_pipe2: undeclared in Apple SDK headers but
+    #   falsely link-detectable since iOS simulator SDK 26.4.
     "${cmd}" "$@" \
     \
     ac_cv_prog_cc_c23=no \
@@ -138,6 +141,9 @@ vlcSetSymbolEnvironment() {
     ac_cv_func_futimens=no \
     ac_cv_func_utimensat=no \
     \
+    ac_cv_func_dup3=no \
+    ac_cv_func_pipe2=no \
+    \
     ac_cv_func_thread_get_register_pointer_values=no \
     \
     ac_cv_func_aligned_alloc=no \



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/192ecc334277b2533046fddc67714424554db595

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/192ecc334277b2533046fddc67714424554db595
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help




More information about the vlc-commits mailing list