Update library relink script for new ffmpeg.

This commit is contained in:
casey langen 2024-07-04 12:41:48 -07:00
parent 1efabb3283
commit 88051a1fd6

View File

@ -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',
@ -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',
@ -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'],
@ -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'],