@@ -32,7 +32,7 @@ CF_EXTERN_C_BEGIN
32
32
// FHS bundles are supported on the Swift and C runtimes, except on Windows.
33
33
#if !DEPLOYMENT_RUNTIME_OBJC && !TARGET_OS_WIN32
34
34
35
- #if TARGET_OS_LINUX || TARGET_OS_BSD || TARGET_OS_ANDROID
35
+ #if TARGET_OS_LINUX || TARGET_OS_BSD || TARGET_OS_ANDROID || TARGET_OS_WASI
36
36
#define _CFBundleFHSSharedLibraryFilenamePrefix CFSTR("lib")
37
37
#define _CFBundleFHSSharedLibraryFilenameSuffix CFSTR(".so")
38
38
#elif TARGET_OS_MAC
@@ -390,6 +390,7 @@ extern void _CFPlugInWillUnload(CFPlugInRef plugIn);
390
390
#define _CFBundleSolarisPlatformName CFSTR("solaris")
391
391
#define _CFBundleLinuxPlatformName CFSTR("linux")
392
392
#define _CFBundleFreeBSDPlatformName CFSTR("freebsd")
393
+ #define _CFBundleWASIPlatformName CFSTR("wasi")
393
394
#define _CFBundleMacOSXPlatformNameSuffix CFSTR("-macos")
394
395
#define _CFBundleAlternateMacOSXPlatformNameSuffix CFSTR("-macosx")
395
396
#define _CFBundleiPhoneOSPlatformNameSuffix CFSTR("-iphoneos")
@@ -400,6 +401,7 @@ extern void _CFPlugInWillUnload(CFPlugInRef plugIn);
400
401
#define _CFBundleSolarisPlatformNameSuffix CFSTR("-solaris")
401
402
#define _CFBundleLinuxPlatformNameSuffix CFSTR("-linux")
402
403
#define _CFBundleFreeBSDPlatformNameSuffix CFSTR("-freebsd")
404
+ #define _CFBundleWASIPlatformNameSuffix CFSTR("-wasi")
403
405
404
406
STATIC_CONST_STRING_DECL (_CFBundleMacDeviceName , "mac" );
405
407
STATIC_CONST_STRING_DECL (_CFBundleiPhoneDeviceName , "iphone" );
0 commit comments