From 3a959d0402a276cea95be8c000c90093ed4223ad Mon Sep 17 00:00:00 2001 From: Albert Date: Wed, 12 Mar 2025 13:12:50 -0400 Subject: [PATCH] Fix new lib name in macOS --- examples/C++/call_cpp_from_js/GNUmakefile | 2 +- examples/C++/call_js_from_cpp/GNUmakefile | 2 +- examples/C++/minimal/GNUmakefile | 2 +- examples/C++/serve_a_folder/GNUmakefile | 2 +- examples/C/call_c_from_js/GNUmakefile | 2 +- examples/C/call_js_from_c/GNUmakefile | 2 +- examples/C/chatgpt_api/GNUmakefile | 2 +- examples/C/custom_web_server/GNUmakefile | 2 +- examples/C/minimal/GNUmakefile | 2 +- examples/C/public_network_access/GNUmakefile | 2 +- examples/C/react/GNUmakefile | 2 +- examples/C/serve_a_folder/GNUmakefile | 2 +- examples/C/text-editor/GNUmakefile | 2 +- examples/C/virtual_file_system/GNUmakefile | 2 +- examples/C/web_app_multi_client/GNUmakefile | 2 +- tests/GNUmakefile | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-) diff --git a/examples/C++/call_cpp_from_js/GNUmakefile b/examples/C++/call_cpp_from_js/GNUmakefile index 98fb23c4..27fbfae5 100644 --- a/examples/C++/call_cpp_from_js/GNUmakefile +++ b/examples/C++/call_cpp_from_js/GNUmakefile @@ -49,7 +49,7 @@ else PLATFORM := macos CC = clang COPY_LIB_CMD := @cp "$(LIB_DIR)/lib$(WEBUI_LIB_NAME).dylib" "lib$(WEBUI_LIB_NAME).dylib" - DYN_BUILD_FLAGS += -l$(WEBUI_LIB_NAME).dylib + DYN_BUILD_FLAGS += -l$(WEBUI_LIB_NAME) WKWEBKIT_LINK_FLAGS := -framework Cocoa -framework WebKit else # Linux diff --git a/examples/C++/call_js_from_cpp/GNUmakefile b/examples/C++/call_js_from_cpp/GNUmakefile index 98fb23c4..27fbfae5 100644 --- a/examples/C++/call_js_from_cpp/GNUmakefile +++ b/examples/C++/call_js_from_cpp/GNUmakefile @@ -49,7 +49,7 @@ else PLATFORM := macos CC = clang COPY_LIB_CMD := @cp "$(LIB_DIR)/lib$(WEBUI_LIB_NAME).dylib" "lib$(WEBUI_LIB_NAME).dylib" - DYN_BUILD_FLAGS += -l$(WEBUI_LIB_NAME).dylib + DYN_BUILD_FLAGS += -l$(WEBUI_LIB_NAME) WKWEBKIT_LINK_FLAGS := -framework Cocoa -framework WebKit else # Linux diff --git a/examples/C++/minimal/GNUmakefile b/examples/C++/minimal/GNUmakefile index 98fb23c4..27fbfae5 100644 --- a/examples/C++/minimal/GNUmakefile +++ b/examples/C++/minimal/GNUmakefile @@ -49,7 +49,7 @@ else PLATFORM := macos CC = clang COPY_LIB_CMD := @cp "$(LIB_DIR)/lib$(WEBUI_LIB_NAME).dylib" "lib$(WEBUI_LIB_NAME).dylib" - DYN_BUILD_FLAGS += -l$(WEBUI_LIB_NAME).dylib + DYN_BUILD_FLAGS += -l$(WEBUI_LIB_NAME) WKWEBKIT_LINK_FLAGS := -framework Cocoa -framework WebKit else # Linux diff --git a/examples/C++/serve_a_folder/GNUmakefile b/examples/C++/serve_a_folder/GNUmakefile index 98fb23c4..27fbfae5 100644 --- a/examples/C++/serve_a_folder/GNUmakefile +++ b/examples/C++/serve_a_folder/GNUmakefile @@ -49,7 +49,7 @@ else PLATFORM := macos CC = clang COPY_LIB_CMD := @cp "$(LIB_DIR)/lib$(WEBUI_LIB_NAME).dylib" "lib$(WEBUI_LIB_NAME).dylib" - DYN_BUILD_FLAGS += -l$(WEBUI_LIB_NAME).dylib + DYN_BUILD_FLAGS += -l$(WEBUI_LIB_NAME) WKWEBKIT_LINK_FLAGS := -framework Cocoa -framework WebKit else # Linux diff --git a/examples/C/call_c_from_js/GNUmakefile b/examples/C/call_c_from_js/GNUmakefile index 95e807b3..7aeaaad5 100644 --- a/examples/C/call_c_from_js/GNUmakefile +++ b/examples/C/call_c_from_js/GNUmakefile @@ -49,7 +49,7 @@ else PLATFORM := macos CC = clang COPY_LIB_CMD := @cp "$(LIB_DIR)/lib$(WEBUI_LIB_NAME).dylib" "lib$(WEBUI_LIB_NAME).dylib" - DYN_BUILD_FLAGS += -l$(WEBUI_LIB_NAME).dylib + DYN_BUILD_FLAGS += -l$(WEBUI_LIB_NAME) WKWEBKIT_LINK_FLAGS := -framework Cocoa -framework WebKit else # Linux diff --git a/examples/C/call_js_from_c/GNUmakefile b/examples/C/call_js_from_c/GNUmakefile index 95e807b3..7aeaaad5 100644 --- a/examples/C/call_js_from_c/GNUmakefile +++ b/examples/C/call_js_from_c/GNUmakefile @@ -49,7 +49,7 @@ else PLATFORM := macos CC = clang COPY_LIB_CMD := @cp "$(LIB_DIR)/lib$(WEBUI_LIB_NAME).dylib" "lib$(WEBUI_LIB_NAME).dylib" - DYN_BUILD_FLAGS += -l$(WEBUI_LIB_NAME).dylib + DYN_BUILD_FLAGS += -l$(WEBUI_LIB_NAME) WKWEBKIT_LINK_FLAGS := -framework Cocoa -framework WebKit else # Linux diff --git a/examples/C/chatgpt_api/GNUmakefile b/examples/C/chatgpt_api/GNUmakefile index 95e807b3..7aeaaad5 100644 --- a/examples/C/chatgpt_api/GNUmakefile +++ b/examples/C/chatgpt_api/GNUmakefile @@ -49,7 +49,7 @@ else PLATFORM := macos CC = clang COPY_LIB_CMD := @cp "$(LIB_DIR)/lib$(WEBUI_LIB_NAME).dylib" "lib$(WEBUI_LIB_NAME).dylib" - DYN_BUILD_FLAGS += -l$(WEBUI_LIB_NAME).dylib + DYN_BUILD_FLAGS += -l$(WEBUI_LIB_NAME) WKWEBKIT_LINK_FLAGS := -framework Cocoa -framework WebKit else # Linux diff --git a/examples/C/custom_web_server/GNUmakefile b/examples/C/custom_web_server/GNUmakefile index 95e807b3..7aeaaad5 100644 --- a/examples/C/custom_web_server/GNUmakefile +++ b/examples/C/custom_web_server/GNUmakefile @@ -49,7 +49,7 @@ else PLATFORM := macos CC = clang COPY_LIB_CMD := @cp "$(LIB_DIR)/lib$(WEBUI_LIB_NAME).dylib" "lib$(WEBUI_LIB_NAME).dylib" - DYN_BUILD_FLAGS += -l$(WEBUI_LIB_NAME).dylib + DYN_BUILD_FLAGS += -l$(WEBUI_LIB_NAME) WKWEBKIT_LINK_FLAGS := -framework Cocoa -framework WebKit else # Linux diff --git a/examples/C/minimal/GNUmakefile b/examples/C/minimal/GNUmakefile index 95e807b3..7aeaaad5 100644 --- a/examples/C/minimal/GNUmakefile +++ b/examples/C/minimal/GNUmakefile @@ -49,7 +49,7 @@ else PLATFORM := macos CC = clang COPY_LIB_CMD := @cp "$(LIB_DIR)/lib$(WEBUI_LIB_NAME).dylib" "lib$(WEBUI_LIB_NAME).dylib" - DYN_BUILD_FLAGS += -l$(WEBUI_LIB_NAME).dylib + DYN_BUILD_FLAGS += -l$(WEBUI_LIB_NAME) WKWEBKIT_LINK_FLAGS := -framework Cocoa -framework WebKit else # Linux diff --git a/examples/C/public_network_access/GNUmakefile b/examples/C/public_network_access/GNUmakefile index 95e807b3..7aeaaad5 100644 --- a/examples/C/public_network_access/GNUmakefile +++ b/examples/C/public_network_access/GNUmakefile @@ -49,7 +49,7 @@ else PLATFORM := macos CC = clang COPY_LIB_CMD := @cp "$(LIB_DIR)/lib$(WEBUI_LIB_NAME).dylib" "lib$(WEBUI_LIB_NAME).dylib" - DYN_BUILD_FLAGS += -l$(WEBUI_LIB_NAME).dylib + DYN_BUILD_FLAGS += -l$(WEBUI_LIB_NAME) WKWEBKIT_LINK_FLAGS := -framework Cocoa -framework WebKit else # Linux diff --git a/examples/C/react/GNUmakefile b/examples/C/react/GNUmakefile index 95e807b3..7aeaaad5 100644 --- a/examples/C/react/GNUmakefile +++ b/examples/C/react/GNUmakefile @@ -49,7 +49,7 @@ else PLATFORM := macos CC = clang COPY_LIB_CMD := @cp "$(LIB_DIR)/lib$(WEBUI_LIB_NAME).dylib" "lib$(WEBUI_LIB_NAME).dylib" - DYN_BUILD_FLAGS += -l$(WEBUI_LIB_NAME).dylib + DYN_BUILD_FLAGS += -l$(WEBUI_LIB_NAME) WKWEBKIT_LINK_FLAGS := -framework Cocoa -framework WebKit else # Linux diff --git a/examples/C/serve_a_folder/GNUmakefile b/examples/C/serve_a_folder/GNUmakefile index 95e807b3..7aeaaad5 100644 --- a/examples/C/serve_a_folder/GNUmakefile +++ b/examples/C/serve_a_folder/GNUmakefile @@ -49,7 +49,7 @@ else PLATFORM := macos CC = clang COPY_LIB_CMD := @cp "$(LIB_DIR)/lib$(WEBUI_LIB_NAME).dylib" "lib$(WEBUI_LIB_NAME).dylib" - DYN_BUILD_FLAGS += -l$(WEBUI_LIB_NAME).dylib + DYN_BUILD_FLAGS += -l$(WEBUI_LIB_NAME) WKWEBKIT_LINK_FLAGS := -framework Cocoa -framework WebKit else # Linux diff --git a/examples/C/text-editor/GNUmakefile b/examples/C/text-editor/GNUmakefile index 95e807b3..7aeaaad5 100644 --- a/examples/C/text-editor/GNUmakefile +++ b/examples/C/text-editor/GNUmakefile @@ -49,7 +49,7 @@ else PLATFORM := macos CC = clang COPY_LIB_CMD := @cp "$(LIB_DIR)/lib$(WEBUI_LIB_NAME).dylib" "lib$(WEBUI_LIB_NAME).dylib" - DYN_BUILD_FLAGS += -l$(WEBUI_LIB_NAME).dylib + DYN_BUILD_FLAGS += -l$(WEBUI_LIB_NAME) WKWEBKIT_LINK_FLAGS := -framework Cocoa -framework WebKit else # Linux diff --git a/examples/C/virtual_file_system/GNUmakefile b/examples/C/virtual_file_system/GNUmakefile index 95e807b3..7aeaaad5 100644 --- a/examples/C/virtual_file_system/GNUmakefile +++ b/examples/C/virtual_file_system/GNUmakefile @@ -49,7 +49,7 @@ else PLATFORM := macos CC = clang COPY_LIB_CMD := @cp "$(LIB_DIR)/lib$(WEBUI_LIB_NAME).dylib" "lib$(WEBUI_LIB_NAME).dylib" - DYN_BUILD_FLAGS += -l$(WEBUI_LIB_NAME).dylib + DYN_BUILD_FLAGS += -l$(WEBUI_LIB_NAME) WKWEBKIT_LINK_FLAGS := -framework Cocoa -framework WebKit else # Linux diff --git a/examples/C/web_app_multi_client/GNUmakefile b/examples/C/web_app_multi_client/GNUmakefile index 95e807b3..7aeaaad5 100644 --- a/examples/C/web_app_multi_client/GNUmakefile +++ b/examples/C/web_app_multi_client/GNUmakefile @@ -49,7 +49,7 @@ else PLATFORM := macos CC = clang COPY_LIB_CMD := @cp "$(LIB_DIR)/lib$(WEBUI_LIB_NAME).dylib" "lib$(WEBUI_LIB_NAME).dylib" - DYN_BUILD_FLAGS += -l$(WEBUI_LIB_NAME).dylib + DYN_BUILD_FLAGS += -l$(WEBUI_LIB_NAME) WKWEBKIT_LINK_FLAGS := -framework Cocoa -framework WebKit else # Linux diff --git a/tests/GNUmakefile b/tests/GNUmakefile index 94f09d0c..fdb02a83 100644 --- a/tests/GNUmakefile +++ b/tests/GNUmakefile @@ -59,7 +59,7 @@ else # MacOS PLATFORM := macos COPY_LIB_CMD := @cp "$(LIB_DIR)/lib$(WEBUI_LIB_NAME).dylib" "lib$(WEBUI_LIB_NAME).dylib" - DYN_BUILD_FLAGS += -l$(WEBUI_LIB_NAME).dylib + DYN_BUILD_FLAGS += -l$(WEBUI_LIB_NAME) WKWEBKIT_LINK_FLAGS := -framework Cocoa -framework WebKit else # Linux