HomeFreeBSD

Fix linking static test binaries with atf.test.mk

Description

Fix linking static test binaries with atf.test.mk

Check for -static in LDFLAGS or LDFLAGS.<test>, then pass in the appropriate
dependency (LIBATF or LDATF)

This unbreaks the build with some of the NetBSD tests that need to be compiled
statically

Reviewed by: imp, jmmv
Phabric: D991
Sponsored by: EMC / Isilon Storage Division

Details

Provenance
ngieAuthored on
Reviewer
D991: Fix linking binaries with -latf
Parents
rS273477: netback: change xnb naming convention
Branches
Unknown
Tags
Unknown

Event Timeline