On Wed, Oct 19, 2011 at 11:33, Rüdiger Meier <sweet_f_a@gmx.de> wrote:
On Wednesday 19 October 2011, alexander barakin wrote:
i understand that rpm-devel package from sle11 does not contain /usr/lib/pkgconfig/rpm.pc and therefore command "pkg-config --libs rpm" failes· in what package can be this file? or how else can i get LDFLAGS for rpm in sle11?
jfyi: in opensuse.11.4 and opensuse.factory command "pkg-config --libs rpm" returns "-lrpm -lrpmio"
Try something like this if ! pkg-config --libs rpms &>/dev/null ;then export rpm_LIBS="-lrpm -lrpmio"; fi
well, will do so·
%configure ...
(in doubt see configure --help whether rpm_LIBS is supported)
or you could ship such rpm.pc with your rpm sources and set PKG_CONFIG_PATH="." before configure.
-- wbr, alexander barakin aka sash-kan. http://gnu.linuxcenter.ru -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org