summaryrefslogtreecommitdiff
path: root/package/sudo/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/sudo/Makefile')
-rw-r--r--package/sudo/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/sudo/Makefile b/package/sudo/Makefile
index 93d57db09..c472268a5 100644
--- a/package/sudo/Makefile
+++ b/package/sudo/Makefile
@@ -20,7 +20,7 @@ $(eval $(call PKG_template,SUDO,sudo,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS
HOST_CPPFLAGS+= -I../ -I../include
-ifeq ($(ADK_TARGET_USE_STATIC_LIBS),y)
+ifeq ($(ADK_TARGET_USE_STATIC_LIBS_ONLY),y)
MAKE_FLAGS+= LDFLAGS="$(TARGET_LDFLAGS) -all-static"
else
TARGET_LDFLAGS+= -ldl