Skip to content

Commit

Permalink
Fix missing time_t define in vlc_atomic.h on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
nurupo committed Sep 6, 2023
1 parent 6afd44e commit 657f6ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/ci-scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ elif [ "$TARGET_OS" = "macos" ]; then
sed -i "" "s|^prefix=.*|prefix=$PWD|g" lib/pkgconfig/*.pc
export PKG_CONFIG_PATH="${PWD}/lib/pkgconfig"
cd ../..
echo -e "#include <time.h>\n$(cat sdk/$ARCH/include/vlc/plugins/vlc_atomic.h)" > sdk/$ARCH/include/vlc/plugins/vlc_atomic.h
make OS=macOS CC="$CC"
echo "$LATEST_MACOS_DIR_URL" > VLC_DOWNLOAD_URL.txt
mv libpause_click_plugin.dylib VLC_DOWNLOAD_URL.txt "sdk/$ARCH"
Expand Down

0 comments on commit 657f6ce

Please sign in to comment.