Skip to content

Commit

Permalink
iOS: force rebuild openssl.o extension for every build
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrys committed Dec 17, 2020
1 parent 7f716fa commit a5482c9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/extensions/openssl.so/ext/iphone/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ namespace "build" do
result_dir = "#{$rootdir}/lib/extensions/openssl.so/ext/iphone/" + ( simulator ? "Release-iphonesimulator" : "Release-iphoneos")
result_lib = result_dir + '/libopenssl.so.a'
target_lib = $targetdir + '/libopenssl.so.a'
if !File.exists?(result_lib)
#if !File.exists?(result_lib)

extension_name = "openssl.so"
extension_lib_name = "openssl.so"
Expand All @@ -41,10 +41,10 @@ namespace "build" do
#make cached bin
cp target_lib, result_lib

else
# copy cached bin to target
cp result_lib,target_lib
end
#else
# # copy cached bin to target
# cp result_lib,target_lib
#end


end
Expand Down

0 comments on commit a5482c9

Please sign in to comment.