diff options
author | Ricardo Constantino <wiiaboo@gmail.com> | 2018-12-26 02:45:54 +0000 |
---|---|---|
committer | Ricardo Constantino <wiiaboo@gmail.com> | 2018-12-26 02:45:54 +0000 |
commit | 6893284ee535a531a2e3a5a774bc905a6655f7b3 (patch) | |
tree | 86e6d9758f4b55a83ab6f13de3b0d7dbf58e7efe | |
parent | b436156f5bdcc9ce3f3f93dd30a7bcbdb87910f7 (diff) |
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
-rw-r--r-- | Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
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 |