bug-ncurses
[Top][All Lists]
Advanced

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

[patch] ncurses 5.3: RPATH set incorrectly for libncurses++.so


From: Maciej W. Rozycki
Subject: [patch] ncurses 5.3: RPATH set incorrectly for libncurses++.so
Date: Tue, 29 Oct 2002 14:57:39 +0100 (MET)

Hello,

 The runtime path in libncurses++.so is set incorrectly when
INSTALL_PREFIX is set.  The prefix shouldn't be embedded as
$INSTALL_PREFIX will not be a part of the ultimate path of the library. 
Here is a fix.  Please apply. 

  Maciej

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: address@hidden, PGP key available        +

ncurses-5.3-shared.patch
diff -up --recursive --new-file ncurses-5.3.macro/c++/Makefile.in 
ncurses-5.3/c++/Makefile.in
--- ncurses-5.3.macro/c++/Makefile.in   2002-01-19 20:25:31.000000000 +0000
+++ ncurses-5.3/c++/Makefile.in 2002-10-19 10:22:32.000000000 +0000
@@ -141,7 +141,7 @@ LIB_OBJS = \
 
 ../lib/$(LIBNAME_LIBTOOL) : $(LIB_OBJS)
        cd ../lib && $(LIBTOOL) $(CXX) -o $(LIBNAME) $(LIB_OBJS:.o=.lo) \
-               -rpath $(INSTALL_PREFIX)$(libdir) \
+               -rpath $(libdir) \
                -version-info $(NCURSES_MAJOR):$(NCURSES_MINOR)
 
 OBJS_DEMO = $(MODEL)/demo.o





reply via email to

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