From 08203c4908a3a83482e2b6165fcffb472274ff9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Canna=C3=B2?= Date: Sun, 20 Aug 2023 04:32:44 +0000 Subject: [PATCH] Adding symlinks --- test/tap/tap/Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/test/tap/tap/Makefile b/test/tap/tap/Makefile index 8091bab9d..464d0a97a 100644 --- a/test/tap/tap/Makefile +++ b/test/tap/tap/Makefile @@ -25,7 +25,7 @@ LIBPROXYSQLAR=$(LDIR)/libproxysql.a INCLUDEDIRS=-I$(IDIR) -I$(JSON_IDIR) -I$(MARIADB_IDIR) -I${CURL_IDIR} -I${SQLITE3_IDIR} -I$(DOTENV_IDIR) .PHONY: all -all: libtap.a libtap.so +all: libtap.a libtap.so libssl.so.3 libcrypto.so.3 libcpp_dotenv.so .PHONY: clean clean: @@ -53,6 +53,15 @@ libtap.a: tap.cpp tap.h command_line.cpp command_line.h utils.cpp utils.h tap.o libtap.so: tap.cpp tap.h command_line.cpp command_line.h utils.cpp utils.h tap.o command_line.o utils.o cpp-dotenv/dynamic/cpp-dotenv/libcpp_dotenv.so gcc -shared -o libtap.so -Wl,--whole-archive libtap.a ../../../deps/curl/curl/lib/.libs/libcurl.a ../../../deps/libssl/openssl/libcrypto.a ../../../deps/libssl/openssl/libssl.a -Wl,--no-whole-archive +libssl.so.3: + ln -s $(DEPS_PATH)/libssl/openssl/libssl.so.3 + +libcrypto.so.3: + ln -s $(DEPS_PATH)/libssl/openssl/libcrypto.so.3 + +libcpp_dotenv.so: cpp-dotenv/dynamic/cpp-dotenv/libcpp_dotenv.so + ln -s ./cpp-dotenv/dynamic/cpp-dotenv/libcpp_dotenv.so . + cpp-dotenv/static/cpp-dotenv/libcpp_dotenv.a: cd cpp-dotenv/static && rm -rf cpp-dotenv-*/ || true cd cpp-dotenv/static && tar -zxf ../cpp-dotenv-*.tar.gz