summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolker Grabsch <vog@notjusthosting.com>2010-05-03 09:55:19 (GMT)
committerVolker Grabsch <vog@notjusthosting.com>2010-05-03 09:55:19 (GMT)
commitf6211a2851888e8d098d5b37047ab69166bd41c1 (patch)
tree29950bea89cd0380e937628178a7dc583bbd7738
parent6941c5d3e618b680d7c683686a4812841144990a (diff)
downloadmxe-f6211a2851888e8d098d5b37047ab69166bd41c1.zip
mxe-f6211a2851888e8d098d5b37047ab69166bd41c1.tar.gz
mxe-f6211a2851888e8d098d5b37047ab69166bd41c1.tar.bz2
don't use "struct timespec" from <pthreads.h> in package guile
-rw-r--r--src/guile.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/guile.mk b/src/guile.mk
index 1386fde..95a5400 100644
--- a/src/guile.mk
+++ b/src/guile.mk
@@ -20,11 +20,15 @@ define $(PKG)_UPDATE
endef
define $(PKG)_BUILD
+ # The setting "scm_cv_struct_timespec=no" ensures that Guile
+ # won't try to use the "struct timespec" from <pthreads.h>,
+ # which would fail because we tell Guile not to use Pthreads.
cd '$(1)' && ./configure \
--host='$(TARGET)' \
--prefix='$(PREFIX)/$(TARGET)' \
--disable-shared \
--without-threads \
+ scm_cv_struct_timespec=no \
LIBS='-lunistring -lintl -liconv'
$(MAKE) -C '$(1)' -j '$(JOBS)' schemelib_DATA=
$(MAKE) -C '$(1)' -j 1 install schemelib_DATA=