summaryrefslogtreecommitdiff
path: root/config/gr_python.m4
diff options
context:
space:
mode:
authorJohnathan Corgan2009-10-11 08:42:37 -0700
committerJohnathan Corgan2009-10-11 08:42:37 -0700
commitc49fc2debfbcbf6e8ab2100f7d20319b457792ee (patch)
tree8995da495bcd10e51842ada61fb62cf69c51b2e3 /config/gr_python.m4
parenta1faa30ce3313e81e180792bea445fe0a961fe3c (diff)
parent58f84719a2084142bd2fe008a7ff4b1f05b5a598 (diff)
downloadgnuradio-c49fc2debfbcbf6e8ab2100f7d20319b457792ee.tar.gz
gnuradio-c49fc2debfbcbf6e8ab2100f7d20319b457792ee.tar.bz2
gnuradio-c49fc2debfbcbf6e8ab2100f7d20319b457792ee.zip
Merge branch 'patches/dward' of git@gnuradio.org:jcorgan
* 'patches/dward' of git@gnuradio.org:jcorgan: #include "config.h" in db_wbxng.cc (for timespec, nanosleep, etc.) Add flags and dependencies for MinGW/MSYS. Add dependence of gruel on guile; fixes ticket #410. Use gruel::mutex instead of pthread_mutex in gr_histo_sink_f. Add .gitattributes to fix CRLF problems on MinGW/MSYS
Diffstat (limited to 'config/gr_python.m4')
-rw-r--r--config/gr_python.m46
1 files changed, 6 insertions, 0 deletions
diff --git a/config/gr_python.m4 b/config/gr_python.m4
index 7479f0533..43ccfc015 100644
--- a/config/gr_python.m4
+++ b/config/gr_python.m4
@@ -123,6 +123,12 @@ print path
;;
esac
+ case $host_os in
+ *mingw* )
+ # Python 2.5 requires ".pyd" instead of ".dll" for extensions
+ PYTHON_LDFLAGS="-shrext .pyd ${PYTHON_LDFLAGS}"
+ esac
+
AC_SUBST(PYTHON_LDFLAGS)
fi
])