Commit 9a1ff0e4 authored by Tim Rühsen's avatar Tim Rühsen 🍻

Don't export _idn2_* symbols for non-ld linkers

parent 80eb8aeb
...@@ -101,5 +101,5 @@ $(NFCQC): ...@@ -101,5 +101,5 @@ $(NFCQC):
if HAVE_LD_VERSION_SCRIPT if HAVE_LD_VERSION_SCRIPT
libidn2_la_LDFLAGS += -Wl,--version-script=$(srcdir)/idn2.map libidn2_la_LDFLAGS += -Wl,--version-script=$(srcdir)/idn2.map
else else
libidn2_la_LDFLAGS += -export-symbols-regex '^idn2_.*|_idn2_punycode_..code' libidn2_la_LDFLAGS += -export-symbols-regex '^idn2_.*'
endif endif
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