package/libuhttpd: manage BUILD_STATIC_LIBS
Use BUILD_STATIC_LIBS which has been added in version 3.1.4 with
4d0f435e0b
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
bfd8d7be71
commit
2004cf740a
|
@ -36,4 +36,11 @@ else
|
|||
LIBUHTTPD_CONF_OPTS += -DUHTTPD_SSL_SUPPORT=OFF
|
||||
endif
|
||||
|
||||
# BUILD_SHARED_LIBS is handled in pkg-cmake.mk as it is a generic cmake variable
|
||||
ifeq ($(BR2_SHARED_STATIC_LIBS),y)
|
||||
LIBUHTTPD_CONF_OPTS += -DBUILD_STATIC_LIBS=ON
|
||||
else ifeq ($(BR2_SHARED_LIBS),y)
|
||||
LIBUHTTPD_CONF_OPTS += -DBUILD_STATIC_LIBS=OFF
|
||||
endif
|
||||
|
||||
$(eval $(cmake-package))
|
||||
|
|
Loading…
Reference in a new issue