forked from siuying/QuickJS-iOS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathQuickJS.podspec
29 lines (23 loc) · 1.08 KB
/
QuickJS.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Pod::Spec.new do |s|
s.name = "QuickJS"
s.version = "0.0.2020-04-12"
s.summary = "QuickJS Javascript Engine"
s.homepage = "https://bellard.org/quickjs/"
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { "Francis Chong" => "[email protected]" } # Podspec maintainer
s.requires_arc = false
s.ios.deployment_target = '10.0'
s.tvos.deployment_target = '10.0'
# s.platform = :ios, "10.0"
s.source = { :git => "https://github.com/275080225/QuickJS-iOS.git", :tag => s.version }
s.default_subspec = 'precompiled'
s.prepare_command = 'sh build.sh'
s.subspec 'precompiled' do |ss|
ss.source_files = 'QuickJS_iOS/headers/*.h'
ss.public_header_files = 'QuickJS_iOS/headers/*.h'
ss.header_mappings_dir = 'QuickJS_iOS/headers'
ss.vendored_libraries = 'QuickJS_iOS/lib/*.a'
# required to load all symbols in the library
ss.user_target_xcconfig = { 'OTHER_LDFLAGS' => '-force_load ${PODS_ROOT}/QuickJS/QuickJS_iOS/lib/libquickjs.a' }
end
end