mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
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:
committed by
Thomas Petazzoni
parent
bfd8d7be71
commit
2004cf740a
@@ -36,4 +36,11 @@ else
|
|||||||
LIBUHTTPD_CONF_OPTS += -DUHTTPD_SSL_SUPPORT=OFF
|
LIBUHTTPD_CONF_OPTS += -DUHTTPD_SSL_SUPPORT=OFF
|
||||||
endif
|
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))
|
$(eval $(cmake-package))
|
||||||
|
|||||||
Reference in New Issue
Block a user