mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Alexander Dahl via ptxdist <ptxdist@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Alexander Dahl <ada@thorsis.com>, Ian Abbott <abbotti@mev.co.uk>
Subject: [ptxdist] [PATCH 3/8] libwebsockets: Make shared library build explicit
Date: Tue, 21 Oct 2025 15:11:13 +0200	[thread overview]
Message-ID: <20251021131118.919834-4-ada@thorsis.com> (raw)
In-Reply-To: <20251021131118.919834-1-ada@thorsis.com>

This is what gets installed later anyways.  Avoid that extra build time
for the static library.

Signed-off-by: Alexander Dahl <ada@thorsis.com>
---
 rules/libwebsockets.make | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/rules/libwebsockets.make b/rules/libwebsockets.make
index 2d29df23b..36606940c 100644
--- a/rules/libwebsockets.make
+++ b/rules/libwebsockets.make
@@ -36,6 +36,7 @@ LIBWEBSOCKETS_CONF_OPT	:=  \
 	$(CROSS_CMAKE_USR) \
 	-DDISABLE_WERROR=ON \
 	-DLWS_IPV6=$(call ptx/onoff, PTXCONF_GLOBAL_IPV6) \
+	-DLWS_LINK_TESTAPPS_DYNAMIC=ON \
 	-DLWS_WITHOUT_DAEMONIZE=OFF \
 	-DLWS_WITHOUT_EXTENSIONS=OFF \
 	-DLWS_WITHOUT_TESTAPPS=ON \
@@ -46,7 +47,9 @@ LIBWEBSOCKETS_CONF_OPT	:=  \
 	-DLWS_WITH_LIBEV=$(call ptx/onoff, PTXCONF_LIBWEBSOCKETS_LIBEV) \
 	-DLWS_WITH_LIBEVENT=$(call ptx/onoff, PTXCONF_LIBWEBSOCKETS_LIBEVENT) \
 	-DLWS_WITH_LIBUV=$(call ptx/onoff, PTXCONF_LIBWEBSOCKETS_LIBUV) \
+	-DLWS_WITH_SHARED=ON \
 	-DLWS_WITH_SSL=$(call ptx/onoff, PTXCONF_LIBWEBSOCKETS_TLS) \
+	-DLWS_WITH_STATIC=OFF \
 	-DLWS_WITH_ZLIB=ON
 
 # ----------------------------------------------------------------------------
-- 
2.39.5




  parent reply	other threads:[~2025-10-21 13:11 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-21 13:11 [ptxdist] [PATCH 0/8] libwebsockets: Pin down options and bump version Alexander Dahl via ptxdist
2025-10-21 13:11 ` [ptxdist] [PATCH 1/8] libwebsockets: Reorder conf opts Alexander Dahl via ptxdist
2025-10-21 13:11 ` [ptxdist] [PATCH 2/8] libwebsockets: Add conf opt to disable -Werror Alexander Dahl via ptxdist
2025-10-21 13:11 ` Alexander Dahl via ptxdist [this message]
2025-10-21 13:11 ` [ptxdist] [PATCH 4/8] libwebsockets: Remove tests and examples from build Alexander Dahl via ptxdist
2025-10-21 13:11 ` [ptxdist] [PATCH 5/8] libwebsockets: Pin down more conf opts Alexander Dahl via ptxdist
2025-10-21 13:11 ` [ptxdist] [PATCH 6/8] libwebsockets: version bump 4.3.3 -> 4.4.1 Alexander Dahl via ptxdist
2025-10-21 13:11 ` [ptxdist] [PATCH 7/8] libwebsockets: Make roles configurable Alexander Dahl via ptxdist
2025-10-21 13:11 ` [ptxdist] [PATCH 8/8] libwebsockets: Pin down higher level config options Alexander Dahl via ptxdist

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=20251021131118.919834-4-ada@thorsis.com \
    --to=ptxdist@pengutronix.de \
    --cc=abbotti@mev.co.uk \
    --cc=ada@thorsis.com \
    /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