bug-bash
[Top][All Lists]
Advanced

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

readline shared libraries are built without LDFLAGS


From: Paul Jarc
Subject: readline shared libraries are built without LDFLAGS
Date: Wed, 11 Jun 2003 11:57:32 -0400
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)

Configuration Information [Automatically generated, do not change]:
Machine: i686
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' 
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu' 
-DCONF_VENDOR='pc' -DSHELL -DHAVE_CONFIG_H  -I. 
-I/package/misc/spf/bash-2.05b-4/spf/readline/include -I. -I./include -I./lib 
-I/nil -I/package/misc/spf/bash-2.05b-4/spf/readline/include 
-I/package/misc/spf/bash-2.05b-4/spf/ncurses/include -O2 -pipe
uname output: Linux multivac.cwru.edu 2.4.20 #1 SMP Thu Jan 16 17:08:56 EST 
2003 i686 unknown unknown GNU/Linux
Machine Type: i686-pc-linux-gnu

Bash Version: 2.05b
Patch Level: 0
Release Status: release

Description:
        libreadline.so and libhistory.so are built without using
        LDFLAGS.  AFAICT, there is no way to pass custom flags to
        those compilation commands.  SH*LDFLAGS are used, but seem to
        be for internal use.

Repeat-By:
        LDFLAGS=-L/foo ./configure && make all install

Fix:
--- readline-4.3/shlib/Makefile.in~     2002-01-24 10:14:40.000000000 -0500
+++ readline-4.3/shlib/Makefile.in      2003-06-11 11:56:16.000000000 -0400
@@ -72,7 +72,7 @@
 SHOBJ_XLDFLAGS = @SHOBJ_XLDFLAGS@
 SHOBJ_LIBS = @SHOBJ_LIBS@
 
-SHLIB_XLDFLAGS = @SHLIB_XLDFLAGS@
+SHLIB_XLDFLAGS = @LDFLAGS@ @SHLIB_XLDFLAGS@
 SHLIB_LIBS = @SHLIB_LIBS@
 SHLIB_LIBSUFF = @SHLIB_LIBSUFF@
 


paul




reply via email to

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