Index: test/profile/lit.cfg =================================================================== --- test/profile/lit.cfg +++ test/profile/lit.cfg @@ -24,8 +24,7 @@ lit_config.load_config(config, site_cfg) raise SystemExit -# FreeBSD does not have libdl -if config.host_os != 'FreeBSD': +if config.host_os in ['Linux']: extra_linkflags += ["-ldl"] # Test suffixes.