diff options
-rw-r--r-- | Makefile | 1 | ||||
-rw-r--r-- | Makefile.include | 2 |
2 files changed, 1 insertions, 2 deletions
@@ -72,7 +72,6 @@ override LDFLAGS += -L$(LIBS_BASE)/lib -Wl,-rpath -Wl,$(LIBS_BASE)/lib endif ifeq ($(CONFIG_STATIC),yes) -override PKG_CONFIG += --static override LDFLAGS += -static endif diff --git a/Makefile.include b/Makefile.include index 2316b30c4..fbd845699 100644 --- a/Makefile.include +++ b/Makefile.include @@ -53,5 +53,5 @@ $(call debug_shell, $(if $(PKG_CONFIG_LIBDIR),PKG_CONFIG_LIBDIR=$(PKG_CONFIG_LIB endef define dependency_ldflags -$(call debug_shell, $(if $(PKG_CONFIG_LIBDIR),PKG_CONFIG_LIBDIR=$(PKG_CONFIG_LIBDIR),) $(PKG_CONFIG) --libs $1 2>/dev/null) +$(call debug_shell, $(if $(PKG_CONFIG_LIBDIR),PKG_CONFIG_LIBDIR=$(PKG_CONFIG_LIBDIR),) $(PKG_CONFIG) --libs --static $1 2>/dev/null) endef |