Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame^] | 1 | From 82dc31b72e77f263574645092ba1597a8f1152e7 Mon Sep 17 00:00:00 2001 |
Andrew Geissler | 72956ed | 2021-01-08 16:11:14 -0600 | [diff] [blame] | 2 | From: Wang Mingyu <wangmy@cn.fujitsu.com> |
| 3 | Date: Fri, 25 Dec 2020 15:10:58 +0900 |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame^] | 4 | Subject: [PATCH] avoid attr unless wanted |
Andrew Geissler | 72956ed | 2021-01-08 16:11:14 -0600 | [diff] [blame] | 5 | |
| 6 | --- |
| 7 | lib/replace/wscript | 4 +--- |
| 8 | 1 file changed, 1 insertion(+), 3 deletions(-) |
| 9 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 10 | diff --git a/lib/replace/wscript b/lib/replace/wscript |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame^] | 11 | index 21a746a..6be3276 100644 |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 12 | --- a/lib/replace/wscript |
| 13 | +++ b/lib/replace/wscript |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame^] | 14 | @@ -968,8 +968,6 @@ def build(bld): |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 15 | if not bld.CONFIG_SET('HAVE_INET_ATON'): REPLACE_SOURCE += ' inet_aton.c' |
| 16 | if not bld.CONFIG_SET('HAVE_INET_NTOP'): REPLACE_SOURCE += ' inet_ntop.c' |
| 17 | if not bld.CONFIG_SET('HAVE_INET_PTON'): REPLACE_SOURCE += ' inet_pton.c' |
| 18 | - if not bld.CONFIG_SET('HAVE_GETXATTR') or bld.CONFIG_SET('XATTR_ADDITIONAL_OPTIONS'): |
| 19 | - REPLACE_SOURCE += ' xattr.c' |
| 20 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 21 | if not bld.CONFIG_SET('HAVE_CLOSEFROM'): |
| 22 | REPLACE_SOURCE += ' closefrom.c' |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame^] | 23 | @@ -984,7 +982,7 @@ def build(bld): |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 24 | # hide_symbols=bld.BUILTIN_LIBRARY('replace'), |
| 25 | private_library=True, |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame^] | 26 | provide_builtin_linking=True, |
Andrew Geissler | 72956ed | 2021-01-08 16:11:14 -0600 | [diff] [blame] | 27 | - deps='dl attr' + extra_libs) |
| 28 | + deps='dl' + extra_libs) |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 29 | |
Andrew Geissler | 72956ed | 2021-01-08 16:11:14 -0600 | [diff] [blame] | 30 | replace_test_cflags = '' |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 31 | if bld.CONFIG_SET('HAVE_WNO_FORMAT_TRUNCATION'): |
Andrew Geissler | 72956ed | 2021-01-08 16:11:14 -0600 | [diff] [blame] | 32 | -- |
| 33 | 2.25.1 |
| 34 | |