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

Commitcaeeabd

Browse files
committed
meson: mingw: Allow multiple definitions
I didn't carry this forward from the win32 template. It's not needed anymorefor the reason stated therein, but it turns out to be required toe.g. override getopt. Possibly a better solution exists, but that's for later.Discussion:http://postgr.es/m/20220928022724.erzuk5v4ai4b53do@awork3.anarazel.de
1 parentdfefa0e commitcaeeabd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎meson.build

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,8 @@ elif host_system == 'windows'
277277
# ldflags += '/nxcompat' # generated by msbuild, should have it for ninja?
278278
else
279279
ldflags+='-Wl,--stack,@0@'.format(cdata.get('WIN32_STACK_RLIMIT'))
280+
# Need to allow multiple definitions, we e.g. want to override getopt.
281+
ldflags+='-Wl,--allow-multiple-definition'
280282
endif
281283

282284
os_deps+= cc.find_library('ws2_32',required:true)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp