diff mbox series

[1/3] package/doxygen: disable shared libs for host

Message ID 20200916100212.2903033-2-buildroot@heine.tech
State Accepted
Headers show
Series package/pkg-cmake.mk: host: build shared as default | expand

Commit Message

Michael Nosthoff Sept. 16, 2020, 10:02 a.m. UTC
doxygen fails to build with BUILD_SHARED_LIBS=ON as it only
for some targets honors this flag and links the rest static.
So enforce BUILD_SHARED_LIBS=OFF for this package.

Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
---
 package/doxygen/doxygen.mk | 2 ++
 1 file changed, 2 insertions(+)

Comments

Thomas Petazzoni Sept. 17, 2020, 8:33 p.m. UTC | #1
On Wed, 16 Sep 2020 12:02:09 +0200
Michael Nosthoff via buildroot <buildroot@busybox.net> wrote:

> doxygen fails to build with BUILD_SHARED_LIBS=ON as it only
> for some targets honors this flag and links the rest static.
> So enforce BUILD_SHARED_LIBS=OFF for this package.
> 
> Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
> ---
>  package/doxygen/doxygen.mk | 2 ++
>  1 file changed, 2 insertions(+)

Thanks, series applied!

Thomas
diff mbox series

Patch

diff --git a/package/doxygen/doxygen.mk b/package/doxygen/doxygen.mk
index 6d8727208a..ee8ae4fde4 100644
--- a/package/doxygen/doxygen.mk
+++ b/package/doxygen/doxygen.mk
@@ -11,4 +11,6 @@  DOXYGEN_LICENSE = GPL-2.0
 DOXYGEN_LICENSE_FILES = LICENSE
 HOST_DOXYGEN_DEPENDENCIES = host-flex host-bison
 
+HOST_DOXYGEN_CONF_OPTS += -DBUILD_SHARED_LIBS=OFF
+
 $(eval $(host-cmake-package))