]> andersk Git - libyaml.git/commitdiff
add -no-undefined to src/Makefile.am
authorMarty E. Plummer <hanetzer@protonmail.com>
Fri, 5 Jan 2018 06:31:45 +0000 (00:31 -0600)
committerMarty E. Plummer <hanetzer@protonmail.com>
Sun, 7 Jan 2018 04:43:18 +0000 (22:43 -0600)
Without this change building a dll with the mingw-w64 toolchain is
impossible. All tests from make test-all succeed on native linux
(Gentoo amd64 glibc default/linux/amd64/17.1/desktop gcc-7.2.0)

Signed-off-by: Marty E. Plummer <hanetzer@protonmail.com>
src/Makefile.am

index 7cc40e7539510994bbbffdc12791d18251836e29..24cf89d241dddf4ee937140beb0f053c562d4943 100644 (file)
@@ -1,4 +1,4 @@
 AM_CPPFLAGS = -I$(top_srcdir)/include -Wall
 lib_LTLIBRARIES = libyaml.la
 libyaml_la_SOURCES = yaml_private.h api.c reader.c scanner.c parser.c loader.c writer.c emitter.c dumper.c
-libyaml_la_LDFLAGS = -release $(YAML_LT_RELEASE) -version-info $(YAML_LT_CURRENT):$(YAML_LT_REVISION):$(YAML_LT_AGE)
+libyaml_la_LDFLAGS = -no-undefined -release $(YAML_LT_RELEASE) -version-info $(YAML_LT_CURRENT):$(YAML_LT_REVISION):$(YAML_LT_AGE)
This page took 0.032356 seconds and 5 git commands to generate.