Fix Linux/Windows makefiles always rerunning Ruby install

This commit is contained in:
Struma 2023-05-05 16:12:25 -04:00
parent f26a9a8e1c
commit e13209d042
2 changed files with 4 additions and 4 deletions

View file

@ -325,9 +325,9 @@ $(DOWNLOADS)/openssl/Configure:
$(CLONE) $(GITHUB)/openssl/openssl $(DOWNLOADS)/openssl --single-branch --branch OpenSSL_1_1_1i --depth 1 $(CLONE) $(GITHUB)/openssl/openssl $(DOWNLOADS)/openssl --single-branch --branch OpenSSL_1_1_1i --depth 1
# Standard ruby # Standard ruby
ruby: init_dirs openssl $(BUILD_PREFIX)/libruby.so.3.1 ruby: init_dirs openssl $(LIBDIR)/libruby.so.3.1
$(BUILD_PREFIX)/libruby.so.3.1: $(DOWNLOADS)/ruby/Makefile $(LIBDIR)/libruby.so.3.1: $(DOWNLOADS)/ruby/Makefile
cd $(DOWNLOADS)/ruby; \ cd $(DOWNLOADS)/ruby; \
make -j$(NPROC); make install make -j$(NPROC); make install

View file

@ -312,9 +312,9 @@ $(DOWNLOADS)/openssl/Configure:
$(CLONE) $(GITHUB)/openssl/openssl $(DOWNLOADS)/openssl --single-branch --branch OpenSSL_1_1_1i --depth 1 $(CLONE) $(GITHUB)/openssl/openssl $(DOWNLOADS)/openssl --single-branch --branch OpenSSL_1_1_1i --depth 1
# Standard ruby # Standard ruby
ruby: init_dirs openssl $(BUILD_PREFIX)/$(RB_PREFIX)-ruby310.dll ruby: init_dirs openssl $(LIBDIR)/$(RB_PREFIX)-ruby310.dll
$(BUILD_PREFIX)/$(RB_PREFIX)-ruby310.dll: $(DOWNLOADS)/ruby/Makefile $(LIBDIR)/$(RB_PREFIX)-ruby310.dll: $(DOWNLOADS)/ruby/Makefile
cd $(DOWNLOADS)/ruby; \ cd $(DOWNLOADS)/ruby; \
make -j$(NPROC); make install make -j$(NPROC); make install