bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #35518] Correct gettext/iconv linking


From: Brad Smith
Subject: [bug #35518] Correct gettext/iconv linking
Date: Sun, 12 Feb 2012 21:14:08 +0000
User-agent: Mozilla/5.0 (Macintosh; PPC Mac OS X 10.5; rv:10.0) Gecko/20120129 Firefox/10.0 TenFourFox/G5

URL:
  <http://savannah.gnu.org/bugs/?35518>

                 Summary: Correct gettext/iconv linking
                 Project: grep
            Submitted by: brad0
            Submitted on: Sun 12 Feb 2012 09:14:07 PM GMT
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

The attached patch corrects the automake files to use LTLIBINTL and LTLIBICONV
as appropriate. Currently the Makefile's are using LIBINTL and LIBICONV which
provide relative paths to the libraries instead of linking with -lfoo as it
should be.


cc -std=gnu99   -O2 -pipe  -L/usr/local/lib -o egrep egrep.o libgrep.a 
../lib/libgreputils.a /usr/local/lib/libintl.so.5.0
/usr/local/lib/libiconv.so.6.0 ../lib/libgreputils.a
/usr/local/lib/libiconv.so.6.0

$ objdump -p gegrep
...
Dynamic Section:
  NEEDED      /usr/local/lib/libintl.so.5.0
  NEEDED      /usr/local/lib/libiconv.so.6.0
  NEEDED      libc.so.62.0



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 12 Feb 2012 09:14:07 PM GMT  Name: grep.diff  Size: 2kB   By: brad0

<http://savannah.gnu.org/bugs/download.php?file_id=25050>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?35518>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]