From 8d2c1328bd3b9e6a0b97e178eed3b67d3638d0ca Mon Sep 17 00:00:00 2001 From: Technion Date: Tue, 27 Dec 2022 16:28:53 +1100 Subject: [PATCH] Better fix for rubygems issue --- ext/argon2_wrap/Makefile.real | 1 + ext/argon2_wrap/extconf.rb | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/argon2_wrap/Makefile.real b/ext/argon2_wrap/Makefile.real index 842fbd7..a2eb90a 100644 --- a/ext/argon2_wrap/Makefile.real +++ b/ext/argon2_wrap/Makefile.real @@ -60,6 +60,7 @@ LIB_SH := lib$(LIB_NAME).$(LIB_EXT) all: libs libs: $(SRC) $(CC) $(CFLAGS) $(LIB_CFLAGS) $^ -o libargon2_wrap.$(LIB_EXT) + cp libargon2_wrap.$(LIB_EXT) ../../lib #Deliberately avoiding the CFLAGS for our test cases - disable optimise and #C89 diff --git a/ext/argon2_wrap/extconf.rb b/ext/argon2_wrap/extconf.rb index b6e91a2..d6af9e0 100644 --- a/ext/argon2_wrap/extconf.rb +++ b/ext/argon2_wrap/extconf.rb @@ -3,4 +3,3 @@ require 'mkmf' File.rename('Makefile.real', 'Makefile') -system "make"