From: Michael Nosthoff <buildroot@heine.tech>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 3/3] package/pkg-cmake.mk: build host with shared libs
Date: Wed, 16 Sep 2020 12:02:11 +0200 [thread overview]
Message-ID: <20200916100212.2903033-4-buildroot@heine.tech> (raw)
In-Reply-To: <20200916100212.2903033-1-buildroot@heine.tech>
CMake offers the BUILD_SHARED_LIBS flag as a default parameter
and most packages honor them.
Similar to pkg-autotools.mk build host packages always with
BUILD_SHARED_LIBS=ON.
Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
---
package/pkg-cmake.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/pkg-cmake.mk b/package/pkg-cmake.mk
index 57bfea9be5..dc545caed9 100644
--- a/package/pkg-cmake.mk
+++ b/package/pkg-cmake.mk
@@ -146,6 +146,7 @@ define $(2)_CONFIGURE_CMDS
-DBUILD_TEST=OFF \
-DBUILD_TESTS=OFF \
-DBUILD_TESTING=OFF \
+ -DBUILD_SHARED_LIBS=ON \
$$(CMAKE_QUIET) \
$$($$(PKG)_CONF_OPTS) \
)
--
2.25.1
prev parent reply other threads:[~2020-09-16 10:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-16 10:02 [Buildroot] [PATCH 0/3] package/pkg-cmake.mk: host: build shared as default Michael Nosthoff
2020-09-16 10:02 ` [Buildroot] [PATCH 1/3] package/doxygen: disable shared libs for host Michael Nosthoff
2020-09-17 20:33 ` Thomas Petazzoni
2020-09-16 10:02 ` [Buildroot] [PATCH 2/3] package/{clang, lld}: host: disable shared_libs Michael Nosthoff
2020-09-16 10:02 ` Michael Nosthoff [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200916100212.2903033-4-buildroot@heine.tech \
--to=buildroot@heine.tech \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox