Skip to content

Commit 5b9e37a

Browse files
committed
Fix CocoaPods podspec again
See: CocoaPods/issues/12011
1 parent d347ea9 commit 5b9e37a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libwebp.podspec

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,12 @@ Pod::Spec.new do |s|
1818
s.pod_target_xcconfig = {
1919
'USER_HEADER_SEARCH_PATHS' => '$(inherited) ${PODS_ROOT}/libwebp/ ${PODS_TARGET_SRCROOT}/'
2020
}
21-
s.preserve_paths = 'src', 'sharpyuv'
2221
s.default_subspecs = 'sharpyuv', 'webp', 'demux', 'mux'
22+
s.preserve_path = 'src'
2323

2424
# sharpyuv converter
2525
s.subspec 'sharpyuv' do |ss|
26+
ss.preserve_paths = 'src', 'sharpyuv'
2627
ss.source_files = 'sharpyuv/*.{h,c}'
2728
ss.public_header_files = 'sharpyuv/sharpyuv.h'
2829
end

0 commit comments

Comments
 (0)