﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	difficulty
1788	Static link file contains bogus unit names	sjamaan	felix winkelmann	"If you perform `chicken-install srfi-41` and inspect the generated `streams.derived.link` file, it contains `srfi-9` as a dependency, which is incorrect because srfi-9 is a primitive module which is part of libchicken, so no static linking is needed.

This breaks anything that relies on `srfi-41` and tries to link statically, for example https://github.com/markjfisher/aoc-chicken/blob/master/build/static-build.sh

This seems to be a regression from 5.2.0 (and therefore a definite blocker for 5.3.0), because there the generated link file contains only `(streams.primitive type-checks)`, which is correct.

I haven't done any serious investigation yet, but likely candidates for this regression are `3fd42518` and `41a1decf`."	defect	closed	major	5.3	compiler	5.2.0	fixed	static linking, dependencies		medium
