mirror of
https://github.com/xemu-project/xemu.git
synced 2025-01-30 16:44:21 +00:00
download-macos-libs.py: Update openssl
This commit is contained in:
parent
6391cc1316
commit
fb78770638
4
build.sh
4
build.sh
@ -36,7 +36,7 @@ package_macos() {
|
||||
dylibbundler -cd -of -b -x dist/xemu.app/Contents/MacOS/xemu \
|
||||
-d ${lib_path}/ \
|
||||
-p "@executable_path/${lib_rpath}/" \
|
||||
-s ${PWD}/macos-libs/${target_arch}/opt/local/libexec/openssl11/lib/ \
|
||||
-s ${PWD}/macos-libs/${target_arch}/opt/local/libexec/openssl3/lib/ \
|
||||
-s ${PWD}/macos-libs/${target_arch}/opt/local/lib/
|
||||
|
||||
# Fixup some paths dylibbundler missed
|
||||
@ -227,7 +227,7 @@ case "$platform" in # Adjust compilation options based on platform
|
||||
fi
|
||||
sys_ldflags='-headerpad_max_install_names'
|
||||
export PKG_CONFIG_PATH="${lib_prefix}/lib/pkgconfig"
|
||||
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:${lib_prefix}/libexec/openssl11/lib/pkgconfig"
|
||||
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:${lib_prefix}/libexec/openssl3/lib/pkgconfig"
|
||||
opts="$opts --disable-cocoa --cross-prefix="
|
||||
postbuild='package_macos'
|
||||
;;
|
||||
|
@ -148,7 +148,7 @@ class LibInstaller:
|
||||
if l.strip().startswith('prefix'):
|
||||
new_prefix = f'prefix={self._extract_path}/opt/local\n'
|
||||
if pkg_name.startswith('openssl'): # FIXME
|
||||
new_prefix = f'prefix={self._extract_path}/opt/local/libexec/openssl11\n'
|
||||
new_prefix = f'prefix={self._extract_path}/opt/local/libexec/openssl3\n'
|
||||
lines[i] = new_prefix
|
||||
break
|
||||
with open(extracted_path, 'w') as f:
|
||||
@ -185,7 +185,7 @@ def main():
|
||||
'libsamplerate',
|
||||
'libpixman',
|
||||
'libepoxy',
|
||||
'openssl11',
|
||||
'openssl3',
|
||||
'libpcap',
|
||||
'libslirp'])
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user