mirror of
https://github.com/webui-dev/webui
synced 2025-03-28 21:13:17 +00:00
Linux - C Adding -LDL lib
* Adding `-ldl` * Fix https://github.com/webui-dev/webui/issues/380
This commit is contained in:
parent
62a3b79e4b
commit
6e775b277d
@ -55,7 +55,8 @@ else
|
||||
# Linux
|
||||
PLATFORM := linux
|
||||
COPY_LIB_CMD := @cp "$(LIB_DIR)/$(WEBUI_LIB_NAME).so" "$(WEBUI_LIB_NAME).so"
|
||||
DYN_BUILD_FLAGS += "./$(WEBUI_LIB_NAME).so"
|
||||
STATIC_BUILD_FLAGS += -ldl
|
||||
DYN_BUILD_FLAGS += -ldl "./$(WEBUI_LIB_NAME).so"
|
||||
STRIP_OPT := --strip-all
|
||||
ifeq ($(CC),clang)
|
||||
LLVM_OPT := llvm-
|
||||
|
@ -55,7 +55,8 @@ else
|
||||
# Linux
|
||||
PLATFORM := linux
|
||||
COPY_LIB_CMD := @cp "$(LIB_DIR)/$(WEBUI_LIB_NAME).so" "$(WEBUI_LIB_NAME).so"
|
||||
DYN_BUILD_FLAGS += "./$(WEBUI_LIB_NAME).so"
|
||||
STATIC_BUILD_FLAGS += -ldl
|
||||
DYN_BUILD_FLAGS += -ldl "./$(WEBUI_LIB_NAME).so"
|
||||
STRIP_OPT := --strip-all
|
||||
ifeq ($(CC),clang)
|
||||
LLVM_OPT := llvm-
|
||||
|
@ -55,7 +55,8 @@ else
|
||||
# Linux
|
||||
PLATFORM := linux
|
||||
COPY_LIB_CMD := @cp "$(LIB_DIR)/$(WEBUI_LIB_NAME).so" "$(WEBUI_LIB_NAME).so"
|
||||
DYN_BUILD_FLAGS += "./$(WEBUI_LIB_NAME).so"
|
||||
STATIC_BUILD_FLAGS += -ldl
|
||||
DYN_BUILD_FLAGS += -ldl "./$(WEBUI_LIB_NAME).so"
|
||||
STRIP_OPT := --strip-all
|
||||
ifeq ($(CC),clang)
|
||||
LLVM_OPT := llvm-
|
||||
|
@ -55,7 +55,8 @@ else
|
||||
# Linux
|
||||
PLATFORM := linux
|
||||
COPY_LIB_CMD := @cp "$(LIB_DIR)/$(WEBUI_LIB_NAME).so" "$(WEBUI_LIB_NAME).so"
|
||||
DYN_BUILD_FLAGS += "./$(WEBUI_LIB_NAME).so"
|
||||
STATIC_BUILD_FLAGS += -ldl
|
||||
DYN_BUILD_FLAGS += -ldl "./$(WEBUI_LIB_NAME).so"
|
||||
STRIP_OPT := --strip-all
|
||||
ifeq ($(CC),clang)
|
||||
LLVM_OPT := llvm-
|
||||
|
@ -55,7 +55,8 @@ else
|
||||
# Linux
|
||||
PLATFORM := linux
|
||||
COPY_LIB_CMD := @cp "$(LIB_DIR)/$(WEBUI_LIB_NAME).so" "$(WEBUI_LIB_NAME).so"
|
||||
DYN_BUILD_FLAGS += "./$(WEBUI_LIB_NAME).so"
|
||||
STATIC_BUILD_FLAGS += -ldl
|
||||
DYN_BUILD_FLAGS += -ldl "./$(WEBUI_LIB_NAME).so"
|
||||
STRIP_OPT := --strip-all
|
||||
ifeq ($(CC),clang)
|
||||
LLVM_OPT := llvm-
|
||||
|
@ -55,7 +55,8 @@ else
|
||||
# Linux
|
||||
PLATFORM := linux
|
||||
COPY_LIB_CMD := @cp "$(LIB_DIR)/$(WEBUI_LIB_NAME).so" "$(WEBUI_LIB_NAME).so"
|
||||
DYN_BUILD_FLAGS += "./$(WEBUI_LIB_NAME).so"
|
||||
STATIC_BUILD_FLAGS += -ldl
|
||||
DYN_BUILD_FLAGS += -ldl "./$(WEBUI_LIB_NAME).so"
|
||||
STRIP_OPT := --strip-all
|
||||
ifeq ($(CC),clang)
|
||||
LLVM_OPT := llvm-
|
||||
|
@ -55,7 +55,8 @@ else
|
||||
# Linux
|
||||
PLATFORM := linux
|
||||
COPY_LIB_CMD := @cp "$(LIB_DIR)/$(WEBUI_LIB_NAME).so" "$(WEBUI_LIB_NAME).so"
|
||||
DYN_BUILD_FLAGS += "./$(WEBUI_LIB_NAME).so"
|
||||
STATIC_BUILD_FLAGS += -ldl
|
||||
DYN_BUILD_FLAGS += -ldl "./$(WEBUI_LIB_NAME).so"
|
||||
STRIP_OPT := --strip-all
|
||||
ifeq ($(CC),clang)
|
||||
LLVM_OPT := llvm-
|
||||
|
Loading…
x
Reference in New Issue
Block a user