linker uses the -static flag to hold onto libraries