From a1ad7dd54fbe6fe2ef725b04600e73c08a4150c8 Mon Sep 17 00:00:00 2001 From: irisknowz Date: Wed, 18 Jun 2025 20:19:26 -0700 Subject: [PATCH] Add double quotes to OpenSSL Path in Makefile #193: Without the double quotes in the Makefile, a path with spaces in either OPENSSL_INC_DIR or OPENSSL_LIB_DIR would be interpreted as multiple arguments on the linker and it would fail. This commit fixes that. --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 443f7e57..3ddb4427 100644 --- a/Makefile +++ b/Makefile @@ -9,6 +9,8 @@ OPENSSL_LIB_DIR ?= C:/DiscordMessenger/openssl $(info Discord Messenger makefile) $(info Debug: $(DEBUG)) $(info Unicode: $(UNICODE)) +$(info OpenSSL Include Path: $(OPENSSL_INC_DIR)) +$(info OpenSSL Library Path: $(OPENSSL_LIB_DIR)) USER_INC_DIRS = USER_DEFINES = @@ -32,14 +34,14 @@ WR = windres INC_DIRS = \ $(USER_INC_DIRS) \ - -I$(OPENSSL_INC_DIR) \ + -I"$(OPENSSL_INC_DIR)" \ -Ideps \ -Ideps/asio \ -Ideps/iprogsthreads/include \ -Ideps/mwas/include LIB_DIRS = \ - -L$(OPENSSL_LIB_DIR) + -L"$(OPENSSL_LIB_DIR)" DEFINES = \ -DWINVER=$(WINVER) \