diff --git a/package/gd/gd.mk b/package/gd/gd.mk index 97a1a143ec..2df81e6d37 100644 --- a/package/gd/gd.mk +++ b/package/gd/gd.mk @@ -36,7 +36,7 @@ endif ifeq ($(BR2_PACKAGE_LIBICONV),y) GD_DEPENDENCIES += libiconv # not strictly needed for gd, but ensures -liconv ends up in gdlib.pc -GD_CONF_ENV += LIBS="-liconv" +GD_CONF_ENV += LIBS_PRIVATES="-liconv" endif ifeq ($(BR2_PACKAGE_JPEG),y)