[Buildroot] [git commit] package/uftp: fix openssl static linking
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Wed Mar 20 16:23:58 UTC 2019
commit: https://git.buildroot.net/buildroot/commit/?id=c11aae0e064ad285deaa7ccaf141cc9920a59442
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Fixes:
- http://autobuild.buildroot.org/results/051cfd993b65830c34e675d797e241c272b6f35a
Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
package/uftp/uftp.mk | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/package/uftp/uftp.mk b/package/uftp/uftp.mk
index bbc362652b..f9f0502b49 100644
--- a/package/uftp/uftp.mk
+++ b/package/uftp/uftp.mk
@@ -6,16 +6,19 @@
UFTP_VERSION = 4.9.9
UFTP_SITE = http://sourceforge.net/projects/uftp-multicast/files/source-tar
-UFTP_DEPENDENCIES = openssl
+UFTP_DEPENDENCIES = host-pkgconf openssl
UFTP_LICENSE = GPL-3.0+
UFTP_LICENSE_FILES = LICENSE.txt
+UFTP_MAKE_OPTS = CRYPT_LIB="`$(PKG_CONFIG_HOST_BINARY) --libs libssl`"
+
define UFTP_BUILD_CMDS
- $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)
+ $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) $(UFTP_MAKE_OPTS)
endef
define UFTP_INSTALL_TARGET_CMDS
- $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install
+ $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) $(UFTP_MAKE_OPTS) \
+ DESTDIR=$(TARGET_DIR) install
endef
$(eval $(generic-package))
More information about the buildroot
mailing list