[patch] cygwin, --enable-indirect-deps

Tollef Fog Heen tfheen at err.no
Sun Mar 23 13:12:06 PDT 2008

* Charles Wilson 

| The attached patch fixes three issues on cygwin with pkg-config-0.21.
| (1) We do not have a "root" user at all on cygwin, but neither do we
| have /usr/xpg4/bin/sh.  So, all of the check-* scripts need to be more
| careful before exec'ing /usr/xpg4/bin/sh.

I just committed a much more sane fix for this crazyness and we're now
just using getconf PATH instead of checking if test -d ~root returns
something useful.

| (2) When this change was made:
|         * pkg.c (packages_get_other_cflags, package_get_other_cflags)
|         (packages_get_I_cflags): Always add all cflags.  Debian #340904
| check-requires-private was not updated to reflect that behavior change.

This should be fixed now.

| (3) check-libs and check-libs-private behavior need to accommodate
| altered behavior when --enable-indirect-deps

Yes, true.  Patches accepted. :-)

Tollef Fog Heen
UNIX is user friendly, it's just picky about who its friends are

More information about the pkg-config mailing list