Andrew Geissler | 72956ed | 2021-01-08 16:11:14 -0600 | [diff] [blame] | 1 | --- a/lib/replace/wscript |
| 2 | +++ b/lib/replace/wscript |
| 3 | @@ -947,8 +947,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' |
Andrew Geissler | 72956ed | 2021-01-08 16:11:14 -0600 | [diff] [blame] | 12 | @@ -962,7 +960,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, |
Andrew Geissler | 72956ed | 2021-01-08 16:11:14 -0600 | [diff] [blame] | 16 | - deps='dl attr' + extra_libs) |
| 17 | + deps='dl' + extra_libs) |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 18 | |
Andrew Geissler | 72956ed | 2021-01-08 16:11:14 -0600 | [diff] [blame] | 19 | replace_test_cflags = '' |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 20 | if bld.CONFIG_SET('HAVE_WNO_FORMAT_TRUNCATION'): |
Andrew Geissler | 72956ed | 2021-01-08 16:11:14 -0600 | [diff] [blame] | 21 | |