summaryrefslogtreecommitdiff
path: root/codegen/Makefile.am
diff options
context:
space:
mode:
authorJeremy Philippe <jeremy.philippe@gmail.com>2019-07-05 18:26:05 +0200
committerRico Tzschichholz <ricotz@ubuntu.com>2019-07-05 19:01:04 +0200
commit39ef848029b261e8cb347d7fe6b8f268234ac41a (patch)
tree528e8a0d8d397adbd53e6a1b923ae29a9a0da943 /codegen/Makefile.am
parentf8c7e265ee6b0db3b3301a50cd144f6a58c6b717 (diff)
downloadvala-39ef848029b261e8cb347d7fe6b8f268234ac41a.tar.gz
build: Pass -no-undefined when linking libcodegen
This is required to build under MinGW (and presumably Cygwin). Fixes https://gitlab.gnome.org/GNOME/vala/issues/820
Diffstat (limited to 'codegen/Makefile.am')
-rw-r--r--codegen/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/codegen/Makefile.am b/codegen/Makefile.am
index 7a1778748..d22ecfd58 100644
--- a/codegen/Makefile.am
+++ b/codegen/Makefile.am
@@ -20,6 +20,7 @@ libvalaccodegen_la_LTLIBRARIES = \
libvalaccodegen_ladir = $(pkglibdir)
libvalaccodegen_la_LDFLAGS = \
+ -no-undefined \
-avoid-version \
$(NULL)