From 27e8098c364bf3d17eb833c58f6a18db53be6ad4 Mon Sep 17 00:00:00 2001 From: bones_was_here Date: Sun, 24 Dec 2023 22:07:04 +1000 Subject: [PATCH] Makefile: remove kludge from libd0 linking --- Makefile | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 1ab3dc2b..4a2c90e7 100644 --- a/Makefile +++ b/Makefile @@ -15,14 +15,10 @@ export CC += $(CFLAGS) export CC += -I$(PWD)/source/ # d0_blind_id static libs location export CC += -L$(PWD)/$(D0SRC)/.libs/ -# Player IDs: DP_LINK_CRYPTO needs to be set (else it defaults to "dlopen"), -# it should be set to "shared" but then LIB_CRYPTO gets overridden in DP makefile, -# and we need to set LIB_CRYPTO such that libgmp gets linked -export DP_LINK_CRYPTO=foo -export CFLAGS_CRYPTO=-DLINK_TO_CRYPTO -export LIB_CRYPTO=-ld0_blind_id -lgmp +# Player IDs +export DP_LINK_CRYPTO=static # AES -export DP_LINK_CRYPTO_RIJNDAEL=shared +export DP_LINK_CRYPTO_RIJNDAEL=static .PHONY: help -- 2.39.2