]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
modules/nsid: fix linkage on some systems
authorVladimír Čunát <vladimir.cunat@nic.cz>
Wed, 14 Nov 2018 13:40:39 +0000 (14:40 +0100)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Wed, 14 Nov 2018 13:49:42 +0000 (14:49 +0100)
This is my mistake.  I was convinced this line wasn't needed
and I deleted it before merging the module.
Apparently we still have some deficiencies in the build system,
but let's defer that to migration (to meson probably).

modules/nsid/nsid.mk

index aa7d16cd03780b0a789a8af29998f393ee942343..c7d2f51e3ad74157f167c3db616abeab53987a9d 100644 (file)
@@ -1,4 +1,5 @@
 nsid_CFLAGS := -fPIC
+nsid_LDFLAGS := -Wl,-undefined -Wl,dynamic_lookup
 nsid_SOURCES := modules/nsid/nsid.c
 nsid_DEPEND := $(libkres)
 nsid_LIBS := $(contrib_TARGET) $(libkres_TARGET) $(libkres_LIBS)