* [Buildroot] [PATCH 1/1] package/vtun: fix static linking with atomic
@ 2019-10-10 17:56 Fabrice Fontaine
2019-10-10 19:33 ` Thomas Petazzoni
2019-10-28 13:19 ` Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2019-10-10 17:56 UTC (permalink / raw)
To: buildroot
Fixes:
- http://autobuild.buildroot.org/results/908707cdd16c5b89197c226a3e259f8943a5474e
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/vtun/vtun.mk | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/package/vtun/vtun.mk b/package/vtun/vtun.mk
index 86d452c0c2..35b0ddedbb 100644
--- a/package/vtun/vtun.mk
+++ b/package/vtun/vtun.mk
@@ -8,7 +8,7 @@ VTUN_VERSION = 3.0.4
VTUN_SITE = http://downloads.sourceforge.net/project/vtun/vtun/$(VTUN_VERSION)
VTUN_LICENSE = GPL-2.0+ with OpenSSL exception
VTUN_LICENSE_FILES = README.OpenSSL
-VTUN_DEPENDENCIES = host-bison host-flex zlib lzo openssl
+VTUN_DEPENDENCIES = host-bison host-flex host-pkgconf zlib lzo openssl
VTUN_AUTORECONF = YES
VTUN_CONF_OPTS = \
@@ -19,4 +19,8 @@ VTUN_CONF_OPTS = \
# Assumes old-style gcc inline symbol visibility rules
VTUN_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -std=gnu89"
+# configure.in forgets to link to dependent libraries of openssl breaking static
+# linking
+VTUN_CONF_ENV += LIBS=`$(PKG_CONFIG_HOST_BINARY) --libs openssl`
+
$(eval $(autotools-package))
--
2.23.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/1] package/vtun: fix static linking with atomic
2019-10-10 17:56 [Buildroot] [PATCH 1/1] package/vtun: fix static linking with atomic Fabrice Fontaine
@ 2019-10-10 19:33 ` Thomas Petazzoni
2019-10-28 13:19 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2019-10-10 19:33 UTC (permalink / raw)
To: buildroot
On Thu, 10 Oct 2019 19:56:28 +0200
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> Fixes:
> - http://autobuild.buildroot.org/results/908707cdd16c5b89197c226a3e259f8943a5474e
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> package/vtun/vtun.mk | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
Applied to master, thanks. However, it would really be nicer for the
upstream configure.in to use pkg-config if available, not just for
OpenSSL, but also for its other dependencies.
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/1] package/vtun: fix static linking with atomic
2019-10-10 17:56 [Buildroot] [PATCH 1/1] package/vtun: fix static linking with atomic Fabrice Fontaine
2019-10-10 19:33 ` Thomas Petazzoni
@ 2019-10-28 13:19 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2019-10-28 13:19 UTC (permalink / raw)
To: buildroot
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:
> Fixes:
> - http://autobuild.buildroot.org/results/908707cdd16c5b89197c226a3e259f8943a5474e
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Committed to 2019.02.x and 2019.08.x, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-10-28 13:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-10 17:56 [Buildroot] [PATCH 1/1] package/vtun: fix static linking with atomic Fabrice Fontaine
2019-10-10 19:33 ` Thomas Petazzoni
2019-10-28 13:19 ` Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.