Alexey Tourbin
808184893c
cpp.req: disable for gcc
2011-02-27 07:17:15 +03:00
Alexey Tourbin
7d605fbd96
pkgconfiglib.req: use RPM_FINDPACKAGE_HOST_PKG_NAMES=1; removed glibc-devel optimization
2008-06-14 22:34:02 +04:00
Alexey Tourbin
b2b7954938
pkgconfiglib.req: use FindPackage to emit file-level dependencies on RPM_BUILD_ROOT libraries
2007-12-03 14:13:50 +03:00
Alexey Tourbin
cf62e1c09f
pkgconfiglib.req: use plain "readlink -ve" for gcc_libdirs
2007-12-03 14:00:05 +03:00
Alexey Tourbin
34974c9e88
pkgconfiglib.req: use Warning()
2007-12-03 11:40:22 +03:00
Alexey Tourbin
488d03d395
pkgconfiglib.req: downgraded a few Verbose messages to Debug
2007-10-29 14:55:54 +03:00
Alexey Tourbin
3f1e70716d
pkgconfiglib.req: use "pkg-config --disable-recursion" to get libs and libdirs
2007-10-29 12:29:04 +03:00
Alexey Tourbin
2ae82b0a11
pkgconfiglib.req: also check *.a static libraries
2007-10-16 14:47:34 +04:00
Alexey Tourbin
02e9558ab6
pkgconfiglib.req: checking -rpath is wrong; back to --libs-only-l and --libs-only-L
...
Contrary to my quick ld(1) interpretation, -rpath option does not really
adjust search path directories.
$ gcc ldtest.c -Wl,-rpath,/usr/lib/gcj-4.1 -ljvm
/usr/bin/ld: cannot find -ljvm
$ gcc ldtest.c -L/usr/lib/gcj-4.1 -ljvm
$
Also note that checking for empty pkg-config output is not realiable:
$ echo "^$(pkg-config --libs-only-l /usr/share/pkgconfig/gtk-doc.pc)\$"
^ $
$
2007-10-16 14:39:28 +04:00
Alexey Tourbin
ae2da665dd
pkgconfiglib.req: set up libs= and libdirs= from $pcLibs; consider -Wl,rpath,...
2007-10-16 13:17:39 +04:00
Alexey Tourbin
195dc1f785
pkgconfiglib.req: use 'gcc -print-search-dirs' to set up gcc_libdirs
2007-10-13 22:35:24 +04:00
Alexey Tourbin
a05a5f4f6b
pkgconfiglib.req: restored
2007-10-13 21:08:29 +04:00