Skip to content

Commit 37b723b

Browse files
committed
android fix makefile run recipe only one time
1 parent d1a62b4 commit 37b723b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ ifneq ($(COVERAGE),false)
177177
genhtml $(COV_DIR)/coverage.info --output-directory $(COV_DIR)
178178
endif
179179

180-
$(SSL) $(CRYPTO) $(OPENSSL):
180+
openssl:
181181
git clone https://github.com/openssl/openssl.git $(CURL_DIR)/src/openssl
182182

183183
cd $(CURL_DIR)/src/openssl && \
@@ -187,6 +187,8 @@ $(SSL) $(CRYPTO) $(OPENSSL):
187187
-D__ANDROID_API__=26 && \
188188
make && make install_sw
189189

190+
$(SSL) $(CRYPTO) $(OPENSSL): openssl
191+
190192
ifeq ($(PLATFORM),android)
191193
$(CURL_LIB): $(SSL) $(CRYPTO) $(OPENSSL)
192194
else

0 commit comments

Comments
 (0)