summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorBrian Smith <brian@dbsoft.org>2022-09-04 16:57:20 -0500
committerBrian Smith <brian@dbsoft.org>2022-09-04 16:57:20 -0500
commit2db2e0fe58c8c844896541ce892695ee9b1c1452 (patch)
tree43afa6b15e318550ebe56f6fad05ffa0430455a0 /security
parent4078c2dd1e3798a283594b84de68b3ded1e69898 (diff)
downloaduxp-2db2e0fe58c8c844896541ce892695ee9b1c1452.tar.gz
No issue - Fix FreeBSD NSS build by adding FreeBSD to the list.
Diffstat (limited to 'security')
-rw-r--r--security/generate_mapfile.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/security/generate_mapfile.py b/security/generate_mapfile.py
index 71e5066e78..3ae1de8816 100644
--- a/security/generate_mapfile.py
+++ b/security/generate_mapfile.py
@@ -19,10 +19,10 @@ import buildconfig
def main(output, input):
# There's a check in old-configure.in under the system-nss handling
# that should match this.
- if buildconfig.substs['OS_ARCH'] not in ('Linux', 'SunOS', 'Darwin'):
+ if buildconfig.substs['OS_ARCH'] not in ('Linux', 'SunOS', 'Darwin', 'FreeBSD'):
print "Error: unhandled OS_ARCH %s" % buildconfig.substs['OS_ARCH']
return 1
- is_linux = buildconfig.substs['OS_ARCH'] in ('Linux', 'SunOS')
+ is_linux = buildconfig.substs['OS_ARCH'] in ('Linux', 'SunOS', 'FreeBSD')
with open(input, 'rb') as f:
for line in f: