Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | --- a/lib/replace/wscript 2015-11-13 16:04:04.000000000 +0100 |
| 2 | +++ b/lib/replace/wscript 2015-11-13 16:23:20.000000000 +0100 |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 3 | @@ -837,8 +837,6 @@ def build(bld): |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 4 | if not bld.CONFIG_SET('HAVE_INET_ATON'): REPLACE_SOURCE += ' inet_aton.c' |
| 5 | if not bld.CONFIG_SET('HAVE_INET_NTOP'): REPLACE_SOURCE += ' inet_ntop.c' |
| 6 | if not bld.CONFIG_SET('HAVE_INET_PTON'): REPLACE_SOURCE += ' inet_pton.c' |
| 7 | - if not bld.CONFIG_SET('HAVE_GETXATTR') or bld.CONFIG_SET('XATTR_ADDITIONAL_OPTIONS'): |
| 8 | - REPLACE_SOURCE += ' xattr.c' |
| 9 | |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 10 | if not bld.CONFIG_SET('HAVE_CLOSEFROM'): |
| 11 | REPLACE_SOURCE += ' closefrom.c' |
| 12 | @@ -852,7 +850,7 @@ def build(bld): |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 13 | # at the moment: |
| 14 | # hide_symbols=bld.BUILTIN_LIBRARY('replace'), |
| 15 | private_library=True, |
| 16 | - deps='crypt dl nsl socket rt attr' + extra_libs) |
| 17 | + deps='crypt dl nsl socket rt ' + extra_libs) |
| 18 | |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 19 | replace_test_cflags="-Wno-format-zero-length" |
| 20 | if bld.CONFIG_SET('HAVE_WNO_FORMAT_TRUNCATION'): |