Package: snacc Version: 1.3bbn-9.2 Severity: normal snacc-config returns wrong library for C++
$ snacc-config --language=C++ --libs -Iasn1c++ The proper result would contain `-l' (el), not `-I' (ai): -lasn1c++ The patch is trivial. --- BEGIN OF PATCH --- --- snacc-config.in.orig 2001-01-27 03:02:40.000000000 +0200 +++ snacc-config.in 2007-09-17 18:03:26.793489476 +0300 @@ -95,7 +95,7 @@ if test $exec_prefix != /usr; then echo -n "-L${exec_prefix}/lib "; fi case "$language" in C) echo -n "-lasn1c${buffertype} " ;; - C++) echo -n "-Iasn1c++ " ;; + C++) echo -n "-lasn1c++ " ;; *) ;; esac else --- END OF PATCH --- Let my Makefiles be 17 bytes shorter :) LDFLAGS += $(shell snacc-config --language=C++ --libs | sed 's/-I/-l/') -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.21-2-686 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages snacc depends on: ii libc6 2.6.1-1+b1 GNU C Library: Shared libraries ii libsnacc0c2 1.3bbn-9.2 ASN.1 to C or C++ or IDL compiler, Versions of packages snacc recommends: ii libsnacc-dev 1.3bbn-9.2 ASN.1 to C or C++ or IDL compiler, ii snacc-doc 1.3bbn-9.2 ASN.1 to C or C++ or IDL compiler, -- no debconf information -- vvv -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]