Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame^] | 1 | diff --git a/lib/replace/wscript b/lib/replace/wscript |
| 2 | index 079761d..07e0104 100644 |
| 3 | --- a/lib/replace/wscript |
| 4 | +++ b/lib/replace/wscript |
| 5 | @@ -793,8 +793,6 @@ def build(bld): |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 6 | if not bld.CONFIG_SET('HAVE_INET_ATON'): REPLACE_SOURCE += ' inet_aton.c' |
| 7 | if not bld.CONFIG_SET('HAVE_INET_NTOP'): REPLACE_SOURCE += ' inet_ntop.c' |
| 8 | if not bld.CONFIG_SET('HAVE_INET_PTON'): REPLACE_SOURCE += ' inet_pton.c' |
| 9 | - if not bld.CONFIG_SET('HAVE_GETXATTR') or bld.CONFIG_SET('XATTR_ADDITIONAL_OPTIONS'): |
| 10 | - REPLACE_SOURCE += ' xattr.c' |
| 11 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame^] | 12 | if not bld.CONFIG_SET('HAVE_CLOSEFROM'): |
| 13 | REPLACE_SOURCE += ' closefrom.c' |
| 14 | @@ -808,7 +806,7 @@ def build(bld): |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 15 | # at the moment: |
| 16 | # hide_symbols=bld.BUILTIN_LIBRARY('replace'), |
| 17 | private_library=True, |
| 18 | - deps='crypt dl nsl socket rt attr' + extra_libs) |
| 19 | + deps='crypt dl nsl socket rt ' + extra_libs) |
| 20 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame^] | 21 | replace_test_cflags="-Wno-format-zero-length" |
| 22 | if bld.CONFIG_SET('HAVE_WNO_FORMAT_TRUNCATION'): |