config/libc/mingw.in
author Anthony Foiani <anthony.foiani@gmail.com>
Thu May 19 23:09:43 2011 +0200 (2011-05-19)
branch1.11
changeset 2465 5f98b7a90fbc
child 2444 896cb0d36c1a
permissions -rw-r--r--
complibs/ppl: fix 0.11-0.11.2 to compile with --disable-shared

PPL 0.11 (through 0.11.2) had a small bug where it still tried to build
and test its Java interface even when shared libraries are disabled.
Since that's exactly what ct-ng does, it explodes.

This is the patch from the PPL authors (see final link below).

More information can be found in these messages/threads:

Anthony's initial report and analysis with Yann:
http://www.cygwin.com/ml/crossgcc/2011-05/msg00046.html

Ron Flory hit the same problem:
http://www.cygwin.com/ml/crossgcc/2011-05/msg00054.html

Anthony's report to the ppl-devel list:
http://www.cs.unipr.it/pipermail/ppl-devel/2011-May/017450.html

Roberto's reply with a link to the fix in the PPL git repo:
http://www.cs.unipr.it/pipermail/ppl-devel/2011-May/017455.html

Signed-Off-By: Anthony Foiani <anthony.foiani@gmail.com>
(transplanted from 139b85d70b623e51f7585e7c64ecb8c6a6cf4567)
bartvdrmeulen@2017
     1
# mingw options
bartvdrmeulen@2017
     2
# depends on MINGW32
bartvdrmeulen@2017
     3
bartvdrmeulen@2017
     4
config LIBC_mingw
bartvdrmeulen@2017
     5
    bool
bartvdrmeulen@2017
     6
    select LIBC_SUPPORT_WIN32THREADS
bartvdrmeulen@2017
     7
    help
bartvdrmeulen@2017
     8
      The de-facto standard for Mingw distributions.
bartvdrmeulen@2017
     9
bartvdrmeulen@2017
    10
choice
bartvdrmeulen@2017
    11
    bool
bartvdrmeulen@2017
    12
    prompt "Mingw runtime version"
bartvdrmeulen@2017
    13
bartvdrmeulen@2017
    14
# Don't remove next line
bartvdrmeulen@2017
    15
# CT_INSERT_VERSION_BELOW
bartvdrmeulen@2017
    16
config MINGWRT_V_3_18
bartvdrmeulen@2017
    17
    bool
bartvdrmeulen@2017
    18
    prompt "3.18"
bartvdrmeulen@2017
    19
bartvdrmeulen@2017
    20
config MINGWRT_V_select
bartvdrmeulen@2017
    21
    bool
bartvdrmeulen@2017
    22
    prompt "Other version"
bartvdrmeulen@2017
    23
bartvdrmeulen@2017
    24
endchoice
bartvdrmeulen@2017
    25
bartvdrmeulen@2017
    26
config MINGWRT_VERSION
bartvdrmeulen@2017
    27
    string
bartvdrmeulen@2017
    28
    prompt "Mingw runtime version" if MINGWRT_V_select
bartvdrmeulen@2017
    29
# Don't remove next line
bartvdrmeulen@2017
    30
# CT_INSERT_VERSION_STRING_BELOW
bartvdrmeulen@2017
    31
    default "3.18" if MINGWRT_V_3_18
bartvdrmeulen@2017
    32
    help
bartvdrmeulen@2017
    33
      Enter the version number of the mingw runtime files to use
bartvdrmeulen@2017
    34