summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2020-10-17 13:40:18 +0200
committerMax Kellermann <max@musicpd.org>2020-10-17 13:56:02 +0200
commit6a65b4c30532bed25335a75d30345bfcccb4725e (patch)
tree20e5e126f6517efe00de1dcc909cbaf2a70ac4b6 /python
parenta163beee6976638b61fadd4f788fdd947e070fb8 (diff)
lib/nfs/patches: disable the snprintf->sprintf_s alias
snprintf() is available on mingw, and the libnfs kludge broke the build with mingw, because sprintf_s() was now both an inline function and a "dllimport" function (because the macro renamed the inline function snprintf() to sprintf_s() in mingw's stdio.h).
Diffstat (limited to 'python')
-rw-r--r--python/build/libs.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/build/libs.py b/python/build/libs.py
index 7584caa16..c9cfd1d25 100644
--- a/python/build/libs.py
+++ b/python/build/libs.py
@@ -429,6 +429,7 @@ libnfs = AutotoolsProject(
'--disable-utils', '--disable-examples',
],
base='libnfs-libnfs-4.0.0',
+ patches='src/lib/nfs/patches',
autoreconf=True,
)