configure: use gcc --print-sysroot to behave correctly in cross builds.

This commit is contained in:
Juan RP
2013-02-06 18:41:44 +01:00
parent d8769c4873
commit e9e704d59a
2 changed files with 16 additions and 2 deletions

3
NEWS
View File

@@ -1,5 +1,8 @@
xbps-0.21 (???):
* configure: don't link to libs in PREFIX/lib blindly; figure out
sysroot dir with gcc compiler and use this for headers/libs.
* libxbps: workaround a bug (found by pancake) when updating a package
that is being replaced by a virtual package.