Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb1a8dc8

Browse files
committed
meson: macos: Correct -exported_symbols_list syntax for Sonoma compat
-exported_symbols_list=... works on Ventura and earlier, but not onSonoma. The easiest way to fix it is to -Wl,-exported_symbols_list,@0@ whichactually seems more appropriate anyway, it's obviously a linker argument. Itis easier to use the -Wl,, syntax than passing multiple arguments, due to theway the export_fmt is used (a single string that's formatted), but if it turnsout to be necessary, we can go for multiple arguments as well.Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>Discussion:https://postgr.es/m/20230928222248.jw6s7yktpfsfczha@alap3.anarazel.deBackpatch: 16-, where the meson based buildsystem was added
1 parentf6d4c9c commitb1a8dc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ elif host_system == 'darwin'
224224
library_path_var='DYLD_LIBRARY_PATH'
225225

226226
export_file_format='darwin'
227-
export_fmt='-exported_symbols_list=@0@'
227+
export_fmt='-Wl,-exported_symbols_list,@0@'
228228

229229
mod_link_args_fmt= ['-bundle_loader','@0@']
230230
mod_link_with_dir='bindir'

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp