Commit d48658b5 authored by Vladimír Čunát's avatar Vladimír Čunát

hints: fix linkage on darwin

It's not very nice that this symbol used in hints.so is defined in
sbin/kresd, but it touches the daemon structures and thus doesn't
really belong into libkres.
parent 37eaf949
Pipeline #17910 failed with stages
in 7 minutes and 3 seconds
hints_CFLAGS := -fvisibility=hidden -fPIC
# We use a symbol that's not in libkres but the daemon.
# On darwin this isn't accepted by default.
hints_LDFLAGS := -Wl,-undefined -Wl,dynamic_lookup
hints_SOURCES := modules/hints/hints.c
hints_DEPEND := $(libkres)
hints_LIBS := $(contrib_TARGET) $(libkres_TARGET) $(libkres_LIBS)
$(call make_c_module,hints)
\ No newline at end of file
$(call make_c_module,hints)
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