diff --git a/package/putty/putty.mk b/package/putty/putty.mk index d3c8d923f0..529edd51c8 100644 --- a/package/putty/putty.mk +++ b/package/putty/putty.mk @@ -17,4 +17,8 @@ else ifeq ($(BR2_PACKAGE_LIBGTK2),y) PUTTY_DEPENDENCIES += libgtk2 endif +ifeq ($(BR2_STATIC_LIBS),y) +PUTTY_CONF_OPTS += -DCMAKE_C_FLAGS="$(TARGET_CFLAGS) -DNO_LIBDL" +endif + $(eval $(cmake-package))