bug-gettext
[Top][All Lists]
Advanced

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

[bug #61769] building libasprintf does not honour RPATH configure option


From: Rudi Heitbaum
Subject: [bug #61769] building libasprintf does not honour RPATH configure option --disable-rpath
Date: Fri, 7 Jan 2022 22:30:50 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36 Edg/96.0.1054.62

URL:
  <https://savannah.gnu.org/bugs/?61769>

                 Summary: building libasprintf does not honour RPATH configure
option --disable-rpath
                 Project: GNU gettext
            Submitted by: heitbaum
            Submitted on: Sat 08 Jan 2022 03:30:48 AM UTC
                Category: Build
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:


The libtool in "gettext-runtime/libasprintf/libtool" does not honour the
--disable-rpath option of configure.

Output:

readelf --dynamic libasprintf.so.0.0.0 | grep PATH
 0x000000000000001d (RUNPATH)            Library runpath:
[/build/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/lib]

The following post-configure works around this.
 
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g'
gettext-runtime/libasprintf/libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g'
gettext-runtime/libasprintf/libtool




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?61769>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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