From feeeca8f075597b94abfcd8ccb12856f4579ea0b Mon Sep 17 00:00:00 2001 From: Bassam Khouri Date: Tue, 11 Nov 2025 14:21:24 -0500 Subject: [PATCH] Enable Dynamic library prefix --- Sources/SWBUniversalPlatform/Specs/ProductTypes.xcspec | 1 + Sources/SWBWindowsPlatform/Specs/Windows.xcspec | 1 + 2 files changed, 2 insertions(+) diff --git a/Sources/SWBUniversalPlatform/Specs/ProductTypes.xcspec b/Sources/SWBUniversalPlatform/Specs/ProductTypes.xcspec index fbe68f45..ff659df8 100644 --- a/Sources/SWBUniversalPlatform/Specs/ProductTypes.xcspec +++ b/Sources/SWBUniversalPlatform/Specs/ProductTypes.xcspec @@ -82,6 +82,7 @@ FULL_PRODUCT_NAME = "$(EXECUTABLE_NAME)"; MACH_O_TYPE = "mh_dylib"; REZ_EXECUTABLE = YES; + EXECUTABLE_PREFIX= "lib"; EXECUTABLE_SUFFIX = ".$(EXECUTABLE_EXTENSION)"; EXECUTABLE_EXTENSION = "$(DYNAMIC_LIBRARY_EXTENSION:default=dylib)"; PUBLIC_HEADERS_FOLDER_PATH = "/usr/local/include"; diff --git a/Sources/SWBWindowsPlatform/Specs/Windows.xcspec b/Sources/SWBWindowsPlatform/Specs/Windows.xcspec index 3ed0fccb..fd03993f 100644 --- a/Sources/SWBWindowsPlatform/Specs/Windows.xcspec +++ b/Sources/SWBWindowsPlatform/Specs/Windows.xcspec @@ -87,6 +87,7 @@ BasedOn = default:com.apple.product-type.library.dynamic; HasInfoPlist = NO; DefaultBuildProperties = { + EXECUTABLE_PREFIX = ""; PUBLIC_HEADERS_FOLDER_PATH = ""; PRIVATE_HEADERS_FOLDER_PATH = ""; };