From nobody Mon May 13 14:01:30 2024 X-Original-To: desktop@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VdLkg6kNBz5KJ8n for ; Mon, 13 May 2024 14:01:31 +0000 (UTC) (envelope-from amistry@am-productions.com) Received: from mail.am-productions.com (mail.am-productions.com [66.11.25.154]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4VdLkf4vZrz4DCl for ; Mon, 13 May 2024 14:01:30 +0000 (UTC) (envelope-from amistry@am-productions.com) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=quarantine) header.from=am-productions.com; spf=pass (mx1.freebsd.org: domain of amistry@am-productions.com designates 66.11.25.154 as permitted sender) smtp.mailfrom=amistry@am-productions.com Received: from [192.168.1.100] (syn-024-165-104-072.res.spectrum.com [24.165.104.72]) (authenticated bits=0) by mail.am-productions.com (8.17.2/8.17.2) with ESMTPSA id 44DE0axm078973 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO) for ; Mon, 13 May 2024 10:01:30 -0400 (EDT) (envelope-from amistry@am-productions.com) X-Authentication-Warning: mail.am-productions.com: Host syn-024-165-104-072.res.spectrum.com [24.165.104.72] claimed to be [192.168.1.100] Message-ID: <6254eb13-fec0-4e8a-a736-efa6e8dac1ef@am-productions.com> Date: Mon, 13 May 2024 10:01:30 -0400 List-Id: Using and improving FreeBSD on the desktop List-Archive: https://lists.freebsd.org/archives/freebsd-desktop List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-desktop@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Anish Mistry Subject: textproc/libxml2 with static and shared libraries To: desktop@FreeBSD.org Content-Language: en-US Autoc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uc4EOLDx8z3iZgmiPCxkMukgNaa72wWNLCBE03iri8 dX4rPM8bxkehLXK0B9hpIlbN8DakkdDJaLfjIMJGBBgRAgAGBQJCn8DzAAoJEMagOc4rnWU9 aRQAoIDJs/5IaVw/g7tRXNoivsNUTIZpAKDN7BTLRc613NJtB4X7n6nf8pk9DA== Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.75 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.96)[-0.956]; DMARC_POLICY_ALLOW(-0.50)[am-productions.com,quarantine]; R_SPF_ALLOW(-0.20)[+mx:c]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:17054, ipnet:66.11.0.0/19, country:US]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_ONE(0.00)[1]; RCVD_TLS_ALL(0.00)[]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[desktop@FreeBSD.org]; FROM_HAS_DN(0.00)[]; HAS_XAW(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[desktop@freebsd.org]; RCPT_COUNT_ONE(0.00)[1] X-Rspamd-Queue-Id: 4VdLkf4vZrz4DCl Does anyone have a way (via the ports) to build libxml2 with both the static libxml2.a and libxml2.so as most other ports do? If I try to hack the Makefile to build the static library, it disables the shared one, but I need both in the install. If I toggle -DBUILD_SHARED_LIBS=ON the static lib won't build. eg. OPTIONS_DEFINE= DOCS ICU MEM_DEBUG READLINE THREAD_ALLOC STATIC STATIC_CONFIGURE_ON= --enable-static=yes STATIC_CMAKE_ON= -DIconv_IS_BUILT_IN=OFF \ -DBUILD_SHARED_LIBS=OFF Thanks, -- Anish Mistry -- Anish