This commit is contained in:
Kovid Goyal 2021-09-30 14:23:19 +05:30
parent 21d3856e90
commit abf6a3f91d
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -411,7 +411,7 @@ def kitty_env() -> Env:
test_program_src = '''#include <UserNotifications/UserNotifications.h>
int main(void) { return 0; }\n'''
user_notifications_framework = first_successful_compile(
ans.cc, '-framework UserNotifications', src=test_program_src, lang='objective-c')
ans.cc, '-framework UserNotifications', src=test_program_src, lang='m')
if user_notifications_framework:
platform_libs.extend(shlex.split(user_notifications_framework))
else: