From 6893284ee535a531a2e3a5a774bc905a6655f7b3 Mon Sep 17 00:00:00 2001 From: Ricardo Constantino Date: Wed, 26 Dec 2018 02:45:54 +0000 Subject: Makefile.am: add no-undefined for win32 "Undefined symbols are not allowed in x86_64-w64-mingw32 shared libraries" This was also applied in the official MINGW-packages repo: Alexpux/MINGW-packages@b5566c58a --- Makefile.am | 1 + 1 file changed, 1 insertion(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 58de75d4..37cfe61b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -52,6 +52,7 @@ libjq_la_LDFLAGS = $(onig_LDFLAGS) -export-symbols-regex '^j[qv]_' -version-info if WIN32 libjq_la_LIBADD += -lshlwapi +libjq_la_LDFLAGS += -no-undefined endif include_HEADERS = src/jv.h src/jq.h -- cgit v1.2.3