erlang: Add a patch for hosts without libz
authorJohan Oudinet <johan.oudinet@gmail.com>
Wed, 6 Dec 2017 14:40:06 +0000 (15:40 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 6 Dec 2017 22:39:24 +0000 (23:39 +0100)
commit572c3f59a9e42c79934484d964b72a1905106d83
tree16405243827222d4dd9ed1bd3ae8ff06710325b3
parent398859e815eae1a90fcc3f35599ad452495d985f
erlang: Add a patch for hosts without libz

Since commit 640c988fd4, erts/configure adds -lz to LIBS but
this variable is also used in some Dynamic Erlang drivers. Fix
Makefiles in such drivers to use the LDLIBS variable instead.

This patch has been reported upstream (see
https://bugs.erlang.org/browse/ERL-529) and should fix:

  http://autobuild.buildroot.net/results/3a3b9a4568c706bd6caad3c63d356680c8405ac5/

Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
Tested-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/erlang/0004-Link-with-LDLIBS-instead-of-LIBS-for-DED.patch [new file with mode: 0644]