Experiments with static builds
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
bd05259d31
commit
5e5a53ab2b
5 changed files with 34 additions and 9 deletions
|
@ -16,6 +16,8 @@ SYSDEPS ?= false
|
|||
# --------------------------------------------------------------
|
||||
# Carla stuff
|
||||
|
||||
ifneq ($(STATIC_BUILD),true)
|
||||
|
||||
ifneq ($(DEBUG),true)
|
||||
EXTERNAL_PLUGINS = true
|
||||
endif
|
||||
|
@ -70,6 +72,8 @@ ifeq ($(WINDOWS),true)
|
|||
STATIC_CARLA_PLUGIN_LIBS += -ldsound -lwinmm
|
||||
endif
|
||||
|
||||
endif # STATIC_BUILD
|
||||
|
||||
# --------------------------------------------------------------
|
||||
# Import base definitions
|
||||
|
||||
|
@ -187,8 +191,10 @@ BASE_FLAGS += -Wno-unused-variable
|
|||
LINK_FLAGS += -pthread
|
||||
|
||||
ifneq ($(HAIKU_OR_MACOS_OR_WINDOWS),true)
|
||||
ifneq ($(STATIC_BUILD),true)
|
||||
LINK_FLAGS += -ldl
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(MACOS),true)
|
||||
LINK_FLAGS += -framework IOKit
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue