zkey: add -ldl to LDLIBS (not LDFLAGS)

The LDFLAGS content is added before the object files causing unresolved
symbol dereferences during the build.  This actually happens so far on
Debian/Ubuntu instances.

Hence, use LDLIBS instead.

Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
This commit is contained in:
Hendrik Brueckner
2017-08-16 15:01:10 +02:00
committed by Michael Holzheu
parent 9b5568d2ef
commit b53793d1b6

View File

@@ -1,7 +1,7 @@
include ../common.mak
CPPFLAGS += -I../include
LDFLAGS += -ldl
LDLIBS += -ldl
all: zkey