Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
Flamefire committed Nov 23, 2023
2 parents 9ef1ae4 + 8445dce commit dece8c6
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions build/Jamfile.v2
Original file line number Diff line number Diff line change
Expand Up @@ -202,12 +202,19 @@ rule configure-full ( properties * : flags-only )
local result ;
local flags-result ;

if ! <boost.locale.iconv> in $(properties:G)
{
# The system Iconv on Solaris may have bugs, while the GNU Iconv is fine.
# So disable it by default if on Solaris.
if <target-os>solaris in $(properties)
{
properties += <boost.locale.iconv>off ;
}
}

local found-iconv ;

# The system Iconv on Solaris may have bugs, while the GNU Iconv is fine.
# So enable by default only if not on Solaris.
if <boost.locale.iconv>on in $(properties)
|| ( ! <boost.locale.iconv> in $(properties:G) && ! <target-os>solaris in $(properties) )
if ! <boost.locale.iconv>off in $(properties)
{
# See if iconv is bundled with standard library.
if [ configure.builds has_iconv : $(properties) : "iconv (libc)" ]
Expand Down

0 comments on commit dece8c6

Please sign in to comment.