scons: Merge redundant checks for the socket library.
authorGabe Black <gabe.black@gmail.com>
Sun, 7 Feb 2021 11:29:38 +0000 (03:29 -0800)
committerGabe Black <gabe.black@gmail.com>
Thu, 11 Feb 2021 19:33:24 +0000 (19:33 +0000)
commite375bbba4e159f14a5ac6582aa1e4abbcaac5d54
treeccdd4de5d7cf1db16cc993f0c8d16bbcf64b835b
parente69453157c31b72867bdbb11515cf21fdf63d506
scons: Merge redundant checks for the socket library.

scons can accept more than one library at a time, so lets check for both
at once instead of writing out almost the same check twice.

Change-Id: I82f9bdf59a349e28ca75a615d711051256ec73a4
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/40869
Tested-by: kokoro <noreply+kokoro@google.com>
Maintainer: Gabe Black <gabe.black@gmail.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
SConstruct