[quake3-commits] [ioquake/ioq3] 484149: Allow loading system OpenAL library on macOS again

Zack Middleton zack at cloemail.com
Thu Mar 22 15:58:49 EDT 2018


  Branch: refs/heads/master
  Home:   https://github.com/ioquake/ioq3
  Commit: 484149573be1bd579ea7f4ee978c9b944db63888
      https://github.com/ioquake/ioq3/commit/484149573be1bd579ea7f4ee978c9b944db63888
  Author: Zack Middleton <zack at cloemail.com>
  Date:   2018-03-22 (Thu, 22 Mar 2018)

  Changed paths:
    M code/sys/sys_unix.c

  Log Message:
  -----------
  Allow loading system OpenAL library on macOS again

In May 2017 the library loading was limited to *.dylib but the macOS
system OpenAL framework does not have dylib extension. So allow loading
files from /System/Library/Frameworks/ as libraries even without dylib
extension.

This is checked in Sys_DllExtension() so that QVM filesystem access will
not allow writing files to /System/Library/Frameworks/ even if homepath
is changed to include it. (Admittedly it doesn't fit the function name
but fits the function description and current usage.)




More information about the quake3-commits mailing list