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

Commit9a95a51

Browse files
committed
meson: macos: Use -Wl,-undefined,error for modules
meson defaults to -Wl,-undefined,dynamic_lookup for modules, which we don'twant because a) it's different from what we do for autoconf, b) it causeswarnings starting in macOS Ventura.Discussion:https://postgr.es/m/20221015211955.q4cwbsfkyk3c4ty3@awork3.anarazel.de
1 parent57bab33 commit9a95a51

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎meson.build

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,10 @@ elif host_system == 'darwin'
228228
message('darwin sysroot: @0@'.format(pg_sysroot))
229229
cflags+= ['-isysroot', pg_sysroot]
230230
ldflags+= ['-isysroot', pg_sysroot]
231+
# meson defaults to -Wl,-undefined,dynamic_lookup for modules, which we
232+
# don't want because a) it's different from what we do for autoconf, b) it
233+
# causes warnings starting in macOS Ventura
234+
ldflags_mod+= ['-Wl,-undefined,error']
231235

232236
elif host_system=='freebsd'
233237
sema_kind='unnamed_posix'

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp