Skip to content

Commit 11ddec9

Browse files
slipherillwieckz
authored andcommitted
Mac: don't hardcode dep versions
1 parent a3f4a73 commit 11ddec9

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

build-release

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ build () {
447447

448448
if "${system_macos}"
449449
then
450-
engine_file_list="${engine_file_list} daemon daemonded daemon-tty nacl_loader libGLEW.2.2.0.dylib libopenal.1.18.2.dylib"
450+
engine_file_list="${engine_file_list} daemon daemonded daemon-tty nacl_loader"
451451
# No Breakpad, hence no symbolize and strip steps
452452
fi
453453

@@ -552,6 +552,11 @@ build () {
552552
if "${system_windows}"
553553
then
554554
engine_file_list="${engine_file_list} $(cd "${target_build_dir}" && ls *.dll)"
555+
elif "${system_macos}"
556+
then
557+
# On Mac there are multiple copies of each dylib; get the ones with 3 version numbers
558+
# stat -f%N just echos back the filenames while erroring if one doesn't exist
559+
engine_file_list="${engine_file_list} $(cd "${target_build_dir}" && stat -f%N libGLEW.*.*.*.dylib libopenal.*.*.*.dylib)"
555560
fi
556561
fi
557562

0 commit comments

Comments
 (0)