Skip to content

Commit 2febb2a

Browse files
committed
modified: SSH.podspec
modified: src/DNS/DNS.swift deleted: src/DNS/dns.c deleted: src/DNS/dns.h modified: src/String+.swift
1 parent dda2fd7 commit 2febb2a

File tree

5 files changed

+5
-148
lines changed

5 files changed

+5
-148
lines changed

Diff for: SSH.podspec

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,20 @@ Pod::Spec.new do |s|
1212
s.osx.deployment_target = '13.0'
1313
s.default_subspecs = :none
1414
s.subspec 'OpenSSL' do |cs|
15-
cs.source_files = ['src/**/*.{swift,c,h}','CSSH/src/**/*.{c,h}','CSSH/libssh2/**/*.{c,h}']
15+
cs.source_files = 'src/**/*.{swift}'
1616
cs.dependency 'CSSH'
1717
cs.pod_target_xcconfig = { 'OTHER_SWIFT_FLAGS' => '-DOPEN_SSL' }
1818
cs.libraries = 'z'
1919
end
2020
s.subspec 'OpenSSLFull' do |cs|
21-
cs.source_files = ['src/**/*.{swift,c,h}','CSSH/src/**/*.{c,h}','CSSH/libssh2/**/*.{c,h}']
21+
cs.source_files = 'src/**/*.{swift}'
2222
cs.dependency 'CSSH'
2323
cs.pod_target_xcconfig = { 'OTHER_SWIFT_FLAGS' => '-DOPEN_SSL' }
2424
cs.libraries = 'z'
2525
end
2626

2727
s.subspec 'wolfSSL' do |cs|
28-
cs.source_files = ['src/**/*.{swift,c,h}','CSSH/libssh2/**/*.{c,h}']
28+
cs.source_files = 'src/**/*.{swift}'
2929
cs.dependency 'CSSH'
3030
cs.pod_target_xcconfig = { 'OTHER_SWIFT_FLAGS' => '-DWOLF_SSL' }
3131
cs.libraries = 'z'

Diff for: src/DNS/DNS.swift

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// Copyright (c) 2025 ssh2.app
33
// Created by [email protected] 2024/12/1.
44

5+
import CSSH
56
import Foundation
67
import Network
78

Diff for: src/DNS/dns.c

-110
This file was deleted.

Diff for: src/DNS/dns.h

-35
This file was deleted.

Diff for: src/String+.swift

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// Copyright (c) 2025 ssh2.app
33
// Created by [email protected] 2024/8/19.
44

5+
import CSSH
56
import Darwin
67
import Foundation
78

0 commit comments

Comments
 (0)