Commit a2104eb8 authored by Martin Storsjö's avatar 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.
parent 26cf436f
......@@ -34,7 +34,7 @@ DEPS_asdcplib = nettle $(DEPS_nettle)
.asdcplib: asdcplib
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/"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment