Package: pkg-config
Version: 0.26-1
Severity: important

My understanding of that option is that the value of the variable 'libdir'
in the:

        /usr/lib/<arch>-linux-gnu/pkgconfig/lib<library>.pc

should be returned.  What I get instead, is a SPACE character.  It is,
IMO, crucial that the option produces expected results.  Some Makefiles
can benefit/depend on that ;)  Now, the current behaviour makes the option
useless.  For example:

        $ printf '%s' "$(pkg-config --libs-only-L libdivecomputer)" | hexdump 
-Cv
        00000000  20                                                | |
        00000001

Expected is either:

        /usr/lib/x86_64-linux-gnu

or:

        /usr/lib/i386-linux-gnu

Makefile lines like:

        libdc-usr := $(wildcard /usr/lib/*/libdivecomputer.a)
        libdc-usr64 := $(wildcard /usr/lib64/libdivecomputer.a)

are unsustainable.  My understanding is that this:

        libdc-usr := $$(pkg-config --libs-only-L 
libdivecomputer)/libdivecomputer.a

may.  Thoughts?


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages pkg-config depends on:
ii  libc6         2.13-33
ii  libglib2.0-0  2.32.3-1
ii  libpopt0      1.16-7

pkg-config recommends no packages.

pkg-config suggests no packages.

-- no debconf information


Cheers,

-- 
Cristian



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to