Skip to content

Commit

Permalink
Update library relink script for new ffmpeg.
Browse files Browse the repository at this point in the history
  • Loading branch information
clangen committed Jul 4, 2024
1 parent 1efabb3 commit 88051a1
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions script/relink-dynamic-libraries.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ if (!mac) {
/* these are the libraries we'll scan, and update linked libraries from
absolute paths to "@rpath/filename" */
const libraries = [
'libavcodec-musikcube.60.dylib',
'libavformat-musikcube.60.dylib',
'libavutil-musikcube.58.dylib',
'libavcodec-musikcube.61.dylib',
'libavformat-musikcube.61.dylib',
'libavutil-musikcube.59.dylib',
'libcrypto.3.dylib',
'libcurl.4.dylib',
'libmicrohttpd.12.dylib',
Expand All @@ -34,7 +34,7 @@ const libraries = [
'libopenmpt.0.dylib',
'libopus.0.dylib',
'libssl.3.dylib',
'libswresample-musikcube.4.dylib',
'libswresample-musikcube.5.dylib',
'libtag.1.19.0.dylib',
'libvorbis.0.dylib',
'libvorbisenc.2.dylib',
Expand All @@ -43,9 +43,9 @@ const libraries = [

/* after updating libraries, re-establish symlinks */
const symlinks = [
['libavcodec-musikcube.60.dylib', 'libavcodec-musikcube.dylib'],
['libavformat-musikcube.60.dylib', 'libavformat-musikcube.dylib'],
['libavutil-musikcube.58.dylib', 'libavutil-musikcube.dylib'],
['libavcodec-musikcube.61.dylib', 'libavcodec-musikcube.dylib'],
['libavformat-musikcube.61.dylib', 'libavformat-musikcube.dylib'],
['libavutil-musikcube.59.dylib', 'libavutil-musikcube.dylib'],
['libcrypto.3.dylib', 'libcrypto.dylib'],
['libcurl.4.dylib', 'libcurl.dylib'],
['libmicrohttpd.12.dylib', 'libmicrohttpd.dylib'],
Expand All @@ -54,7 +54,7 @@ const symlinks = [
['libopenmpt.0.dylib', 'libopenmpt.dylib'],
['libopus.0.dylib', 'libopus.dylib'],
['libssl.3.dylib', 'libssl.dylib'],
['libswresample-musikcube.4.dylib', 'libswresample-musikcube.dylib'],
['libswresample-musikcube.5.dylib', 'libswresample-musikcube.dylib'],
['libtag.1.19.0.dylib', 'libtag.dylib'],
['libvorbis.0.dylib', 'libvorbis.dylib'],
['libvorbisenc.2.dylib', 'libvorbisenc.dylib'],
Expand Down

0 comments on commit 88051a1

Please sign in to comment.