summaryrefslogtreecommitdiff
path: root/config/windows.config
diff options
context:
space:
mode:
authorAndoni Morales Alastruey <ylatuya@gmail.com>2012-02-29 16:06:31 +0100
committerAndoni Morales Alastruey <ylatuya@gmail.com>2012-03-20 17:19:06 +0100
commit71fa75aa3f4582affa447c98fe353197a05f93bd (patch)
treed6c78cba1a3be2d87ec20298fcad8fcfab195f43 /config/windows.config
parentb58596a4b0825dc4a9f73060d0f9948314b8562f (diff)
Disable GNU malloc and realloc checks for mingw
This fixes linking errors like: Creating library file: .libs/libvisual-0.4.dll.a .libs/lv_mem.o:lv_mem.c:(.text+0xf8): undefined reference to `_rpl_malloc' .libs/lv_mem.o:lv_mem.c:(.text+0x1de): undefined reference to `_rpl_realloc' .libs/lv_libvisual.o:lv_libvisual.c:(.text+0x560): undefined reference to `_rpl_realloc' collect2: error: ld returned 1 exit status
Diffstat (limited to 'config/windows.config')
-rw-r--r--config/windows.config2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/windows.config b/config/windows.config
index 43e56ea..2e47a0e 100644
--- a/config/windows.config
+++ b/config/windows.config
@@ -6,6 +6,8 @@ os.environ['am_cv_python_version'] = '2.7'
os.environ['am_cv_python_platform'] = 'win32'
os.environ['am_cv_python_pyexecdir'] = '${prefix}/Python27/Lib/site-packages'
os.environ['am_cv_python_pythondir'] ='${prefix}/Python27/Lib/site-packages'
+os.environ['ac_cv_func_malloc_0_nonnull'] ='yes'
+os.environ['ac_cv_func_realloc_0_nonnull'] ='yes'
os.environ['DIRECTSOUND_CFLAGS']= '-I%s/include/DirectX' % prefix
os.environ['DIRECSOUND_LDFLAGS'] = '-L%s/lib' % prefix
os.environ['DIRECTX_CFLAGS']= '-I%s/include/DirectX' % prefix