Skip to content

Commit

Permalink
add ldl and lz
Browse files Browse the repository at this point in the history
to remedy "ERROR: openssl not found"
bytedeco/javacpp-presets#32 (comment)
  • Loading branch information
mifi committed Aug 7, 2024
1 parent 5d02437 commit f3e1377
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,14 @@ jobs:
run: |
brew install nasm yasm pkg-config cmake
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
# Useful for debugging:
# - name: Setup tmate session
# uses: mxschmitt/action-tmate@v3

- name: Build ffmpeg
run: |
while sleep 300; do echo "=====[ $SECONDS seconds still running ]====="; done &
SKIPINSTALL=yes VERBOSE=yes ./build-ffmpeg --build
./build-ffmpeg --build
kill %1
- name: Check shared library
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ Wait for [Github Actions](https://github.com/mifi/ffmpeg-build-script/actions) a
/usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 228.0.0)
```

There should definitely not be any non-standard libraries added, especially no `/usr/local/*`.

Now download and test the artifacts.

To make a new release, tag a new version, and then push the tags, for example:
Expand Down
4 changes: 2 additions & 2 deletions build-ffmpeg
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ WORKSPACE="$CWD/workspace"
CFLAGS="-I$WORKSPACE/include -mmacosx-version-min=${MACOS_MIN}"
LDFLAGS="-L$WORKSPACE/lib -mmacosx-version-min=${MACOS_MIN}"
LDEXEFLAGS=""
# EXTRALIBS="-ldl -lpthread -lm -lz"
EXTRALIBS="-lpthread -lm"
# -ldl and/or -lz seems to be needed by openssl on x64 mac
EXTRALIBS="-ldl -lpthread -lm -lz"
MACOS_M1=false
CONFIGURE_OPTIONS=()
LATEST=false
Expand Down

0 comments on commit f3e1377

Please sign in to comment.