From e13209d0426b38884c51575b7761d40ab8c15111 Mon Sep 17 00:00:00 2001 From: Struma Date: Fri, 5 May 2023 16:12:25 -0400 Subject: [PATCH] Fix Linux/Windows makefiles always rerunning Ruby install --- linux/Makefile | 4 ++-- windows/Makefile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/linux/Makefile b/linux/Makefile index d4d0dff..9668f54 100644 --- a/linux/Makefile +++ b/linux/Makefile @@ -325,9 +325,9 @@ $(DOWNLOADS)/openssl/Configure: $(CLONE) $(GITHUB)/openssl/openssl $(DOWNLOADS)/openssl --single-branch --branch OpenSSL_1_1_1i --depth 1 # 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; \ make -j$(NPROC); make install diff --git a/windows/Makefile b/windows/Makefile index 301b082..b00995a 100755 --- a/windows/Makefile +++ b/windows/Makefile @@ -312,9 +312,9 @@ $(DOWNLOADS)/openssl/Configure: $(CLONE) $(GITHUB)/openssl/openssl $(DOWNLOADS)/openssl --single-branch --branch OpenSSL_1_1_1i --depth 1 # 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; \ make -j$(NPROC); make install