diff --git a/Modules/module.modulemap b/Modules/module.modulemap index 27dc1f8..b18b454 100644 --- a/Modules/module.modulemap +++ b/Modules/module.modulemap @@ -1,4 +1,4 @@ -module libxml2 [system] { +module libxmlKanna [system] { link "xml2" umbrella header "libxml2-kanna.h" export * diff --git a/Sources/Kanna/CSS.swift b/Sources/Kanna/CSS.swift index b2b43ac..ed8a284 100755 --- a/Sources/Kanna/CSS.swift +++ b/Sources/Kanna/CSS.swift @@ -27,7 +27,7 @@ import Foundation #if SWIFT_PACKAGE import SwiftClibxml2 #else -import libxml2 +import libxmlKanna #endif typealias AKRegularExpression = NSRegularExpression diff --git a/Sources/Kanna/Kanna.swift b/Sources/Kanna/Kanna.swift index e2af8e6..035c683 100755 --- a/Sources/Kanna/Kanna.swift +++ b/Sources/Kanna/Kanna.swift @@ -27,7 +27,7 @@ import Foundation #if SWIFT_PACKAGE import SwiftClibxml2 #else -import libxml2 +import libxmlKanna #endif /* diff --git a/Sources/Kanna/libxmlHTMLDocument.swift b/Sources/Kanna/libxmlHTMLDocument.swift index 17f069d..a5c7691 100755 --- a/Sources/Kanna/libxmlHTMLDocument.swift +++ b/Sources/Kanna/libxmlHTMLDocument.swift @@ -28,7 +28,7 @@ import CoreFoundation #if SWIFT_PACKAGE import SwiftClibxml2 #else -import libxml2 +import libxmlKanna #endif extension String.Encoding { diff --git a/Sources/Kanna/libxmlHTMLNode.swift b/Sources/Kanna/libxmlHTMLNode.swift index eff5db9..9fc334d 100755 --- a/Sources/Kanna/libxmlHTMLNode.swift +++ b/Sources/Kanna/libxmlHTMLNode.swift @@ -27,7 +27,7 @@ import Foundation #if SWIFT_PACKAGE import SwiftClibxml2 #else -import libxml2 +import libxmlKanna #endif /** diff --git a/Sources/Kanna/libxmlParserOption.swift b/Sources/Kanna/libxmlParserOption.swift index d84676b..bc6fca2 100755 --- a/Sources/Kanna/libxmlParserOption.swift +++ b/Sources/Kanna/libxmlParserOption.swift @@ -27,7 +27,7 @@ import Foundation #if SWIFT_PACKAGE import SwiftClibxml2 #else -import libxml2 +import libxmlKanna #endif /*