From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Fri, 18 Oct 2019 08:54:11 +0200 Subject: [Buildroot] [PATCH 1/1] package/libwebsockets: fix static build with openssl In-Reply-To: References: <20191016204128.27360-1-fontaine.fabrice@gmail.com> <20191016224816.3ed0e602@windsurf.home> <20191016231008.41fa8287@windsurf.home> Message-ID: <20191018085411.61f0da4e@windsurf> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net On Thu, 17 Oct 2019 18:57:43 +0200 Fabrice Fontaine wrote: > > Then: > > > > find_package(PkgConfig QUIET) > > if(whatever is the right way to check if pkg-config was found) > > pkg_check_modules(PC_OPENSSL openssl QUIET) > > ... adjust LIBS/CFLAGS ... > > else() > > find_package(OpenSSL REQUIRED) > > endif() > Upstream merged the patch as is, should I sent them a new PR with your updates? If upstream was happy with your patch as-is, I'm fine with it :-) Thanks! Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com