]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
build: Pass -no-undefined when linking libcodegen
authorJeremy Philippe <jeremy.philippe@gmail.com>
Fri, 5 Jul 2019 16:26:05 +0000 (18:26 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Fri, 5 Jul 2019 17:01:04 +0000 (19:01 +0200)
This is required to build under MinGW (and presumably Cygwin).

Fixes https://gitlab.gnome.org/GNOME/vala/issues/820

codegen/Makefile.am

index 7a17787486f8ba5a0738c0c2382c6e841fcd8370..d22ecfd587358402ef873d801ff0eef1f3b9d302 100644 (file)
@@ -20,6 +20,7 @@ libvalaccodegen_la_LTLIBRARIES = \
 libvalaccodegen_ladir = $(pkglibdir)
 
 libvalaccodegen_la_LDFLAGS = \
+       -no-undefined \
        -avoid-version \
        $(NULL)