[vlc-commits] [Git][videolan/vlc][master] package: apple: pass the right platform_version for macOS
François Cartegnie (@fcartegnie)
gitlab at videolan.org
Tue Mar 5 17:59:30 UTC 2024
François Cartegnie pushed to branch master at VideoLAN / VLC
Commits:
37dc394c by Marvin Scholz at 2024-03-05T17:03:32+00:00
package: apple: pass the right platform_version for macOS
The linkers platform_version argument does not support
the value "macosx" but expects "macos" here instead.
- - - - -
1 changed file:
- extras/package/apple/build.sh
Changes:
=====================================
extras/package/apple/build.sh
=====================================
@@ -187,6 +187,12 @@ set_deployment_target()
VLC_DEPLOYMENT_TARGET_LDFLAG="${VLC_HOST_OS}"
VLC_DEPLOYMENT_TARGET_CFLAG="-m$VLC_HOST_OS"
+ if [ "$VLC_HOST_OS" = "macosx" ]; then
+ VLC_DEPLOYMENT_TARGET_LDFLAG="macos"
+ else
+ VLC_DEPLOYMENT_TARGET_LDFLAG="${VLC_HOST_OS}"
+ fi
+
if [ -n "$VLC_HOST_PLATFORM_SIMULATOR" ]; then
VLC_DEPLOYMENT_TARGET_LDFLAG="${VLC_HOST_OS}-simulator"
VLC_DEPLOYMENT_TARGET_CFLAG="${VLC_DEPLOYMENT_TARGET_CFLAG}-simulator"
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/37dc394c0cbdac4bfda5f15f4c155fb5940835cb
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/37dc394c0cbdac4bfda5f15f4c155fb5940835cb
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list