Sha256: 03e9c56a5fd3a0dc12077bd2f925250a88eddaf4c7adf48c8d0a742d4b8efbdf

Contents?: true

Size: 1.05 KB

Versions: 31

Compression:

Stored size: 1.05 KB

Contents

diff --git a/include/yaml.h b/include/yaml.h
index 5a04d36..70d839e 100644
--- a/include/yaml.h
+++ b/include/yaml.h
@@ -29,7 +29,7 @@ extern "C" {
 #ifdef _WIN32
 #   if defined(YAML_DECLARE_STATIC)
 #       define  YAML_DECLARE(type)  type
-#   elif defined(YAML_DECLARE_EXPORT)
+#   elif defined(YAML_DECLARE_EXPORT) || defined(DLL_EXPORT)
 #       define  YAML_DECLARE(type)  __declspec(dllexport) type
 #   else
 #       define  YAML_DECLARE(type)  __declspec(dllimport) type
diff --git a/src/Makefile b/src/Makefile
index b72224d..a413ce0 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -219,7 +219,7 @@ top_srcdir = ..
 AM_CPPFLAGS = -I$(top_srcdir)/include
 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 = -release $(YAML_LT_RELEASE) -version-info $(YAML_LT_CURRENT):$(YAML_LT_REVISION):$(YAML_LT_AGE) -no-undefined
 all: all-am
 
 .SUFFIXES:

Version data entries

31 entries across 31 versions & 2 rubygems

Version Path
clusterlb-0.1.17 omnibus/config/patches/libyaml/v0.1.6.windows-configure.patch
clusterlb-0.1.16 omnibus/config/patches/libyaml/v0.1.6.windows-configure.patch
clusterlb-0.1.15 omnibus/config/patches/libyaml/v0.1.6.windows-configure.patch
clusterlb-0.1.14 omnibus/config/patches/libyaml/v0.1.6.windows-configure.patch
clusterlb-0.1.13 omnibus/config/patches/libyaml/v0.1.6.windows-configure.patch
clusterlb-0.1.12 omnibus/config/patches/libyaml/v0.1.6.windows-configure.patch
clusterlb-0.1.11 omnibus/config/patches/libyaml/v0.1.6.windows-configure.patch
clusterlb-0.1.10 omnibus/config/patches/libyaml/v0.1.6.windows-configure.patch
clusterlb-0.1.9 omnibus/config/patches/libyaml/v0.1.6.windows-configure.patch
clusterlb-0.1.8 omnibus/config/patches/libyaml/v0.1.6.windows-configure.patch
clusterlb-0.1.7 omnibus/config/patches/libyaml/v0.1.6.windows-configure.patch