[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 49b0364 1/3: Explain why debian cross builds
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 49b0364 1/3: Explain why debian cross builds for msw need no pthread library |
Date: |
Wed, 23 Aug 2017 11:24:42 -0400 (EDT) |
branch: master
commit 49b0364e6fe2823b0f1a8b5e0e2001d618a71268
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Explain why debian cross builds for msw need no pthread library
---
msw_generic.make | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/msw_generic.make b/msw_generic.make
index 818688a..48ad032 100644
--- a/msw_generic.make
+++ b/msw_generic.make
@@ -60,6 +60,10 @@ RC := $(gcc_bin_dir)$(host_prefix)windres
# future debian releases, much less on other OSs.
compiler_sysroot := /usr/lib/gcc/i686-w64-mingw32/6.3-win32
+# 'libwinpthread*' is not needed for cross builds--see:
+# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=748353
+# | Provide compilers using Windows and POSIX threads. The default setup
+# | uses Windows threads, thus avoiding the dependency on the pthreads DLL
compiler_runtime_files := \
$(compiler_sysroot)/libstdc++-6.dll \
$(compiler_sysroot)/libgcc_s_sjlj-1.dll \