aboutsummaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorGravatar Fabrice Fontaine <fontaine.fabrice@gmail.com>2019-03-19 23:17:29 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-03-20 17:23:58 +0100
commitc11aae0e064ad285deaa7ccaf141cc9920a59442 (patch)
tree6e0c81a1f069847f87c264f391c1d3fd3fe5fa07 /package
parentf389df2334750194b0a19cb5dff86739f2bf7e2d (diff)
downloadbuildroot-c11aae0e064ad285deaa7ccaf141cc9920a59442.tar.gz
buildroot-c11aae0e064ad285deaa7ccaf141cc9920a59442.tar.bz2
package/uftp: fix openssl static linking
Fixes: - http://autobuild.buildroot.org/results/051cfd993b65830c34e675d797e241c272b6f35a Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package')
-rw-r--r--package/uftp/uftp.mk9
1 files 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))