[vlc-commits] contrib: asdcplib: Add --with-nettle=$(PREFIX)
Martin Storsjö
git at videolan.org
Wed Jan 10 21:43:45 CET 2018
vlc | branch: master | Martin Storsjö <martin at martin.st> | Wed Jan 10 16:48:04 2018 +0200| [a2104eb88798be8546f6dac0ce2acd0c89a4d0a7] | committer: Martin Storsjö
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.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a2104eb88798be8546f6dac0ce2acd0c89a4d0a7
---
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