Skip to content

Commit e5266bf

Browse files
authored
build: enforce shared library for PackagePlugin (#5814)
Synchronise the Package.swift and CMakeLists.txt to build this as a shared library. Previously we were reliant on `-DBUILD_SHARED_LIBS=YES` being passed to properly construct this artifact.
1 parent 7cac3ab commit e5266bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/PackagePlugin/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# See http://swift.org/LICENSE.txt for license information
77
# See http://swift.org/CONTRIBUTORS.txt for Swift project authors
88

9-
add_library(PackagePlugin
9+
add_library(PackagePlugin SHARED
1010
ArgumentExtractor.swift
1111
Command.swift
1212
Context.swift

0 commit comments

Comments
 (0)