[vlc-commits] contrib: asdcplib: Add --with-nettle=$(PREFIX)
Martin Storsjö
git at videolan.org
Fri Jan 12 11:07:31 CET 2018
vlc/vlc-3.0 | branch: master | Martin Storsjö <martin at martin.st> | Wed Jan 10 16:48:04 2018 +0200| [02b0aba8f4513edb8c02414137721858d6b17a31] | committer: Jean-Baptiste Kempf
contrib: asdcplib: Add --with-nettle=$(PREFIX)
The nettle patch for asdcplib looks for nettle installed in /usr
unless a path is specified. For cross builds, this either means
that it doesn't find the cross built nettle within the contribs
tree, or even worse, adds /usr/include to the include path in
the cross build.
(cherry picked from commit a2104eb88798be8546f6dac0ce2acd0c89a4d0a7)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=02b0aba8f4513edb8c02414137721858d6b17a31
---
contrib/src/asdcplib/rules.mak | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/src/asdcplib/rules.mak b/contrib/src/asdcplib/rules.mak
index d530887f62..3d22de7cc6 100644
--- a/contrib/src/asdcplib/rules.mak
+++ b/contrib/src/asdcplib/rules.mak
@@ -34,7 +34,7 @@ DEPS_asdcplib = nettle $(DEPS_nettle)
.asdcplib: asdcplib
$(RECONF)
- cd $< && $(HOSTVARS) ./configure $(HOSTCONF) --enable-freedist --enable-dev-headers
+ cd $< && $(HOSTVARS) ./configure $(HOSTCONF) --enable-freedist --enable-dev-headers --with-nettle=$(PREFIX)
cd $< && $(MAKE) install
mkdir -p -- "$(PREFIX)/lib/pkgconfig"
cp $</asdcplib.pc "$(PREFIX)/lib/pkgconfig/"
More information about the vlc-commits
mailing list