Subject: pkg/5881: wily needs rpath for elf
To: None <gnats-bugs@gnats.netbsd.org>
From: Tim Rightnour <root@polaris.garbled.net>
List: netbsd-bugs
Date: 07/31/1998 00:32:37
>Number:         5881
>Category:       pkg
>Synopsis:       wily needs rpath for elf
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 31 00:20:00 1998
>Last-Modified:
>Originator:     Tim Rightnour
>Organization:
Tim Rightnour    -  root@garbled.net
http://www.zynetwc.com/~garbled/garbled.html
>Release:        6/10/98<NetBSD-current source date>
>Environment:
	
System: NetBSD polaris 1.3 NetBSD 1.3 (POLARIS) #0: Thu Mar 26 13:17:18 MST 1998 root@polaris:/usr/src/sys/arch/i386/compile/POLARIS i386


>Description:
Wily needs an rpath var in order to make a useful binary on an ELF machine.
	
>How-To-Repeat:
you know the drill
	
>Fix:
new patch:

--- wily/Makefile.in.orig	Fri Jul 31 00:11:49 1998
+++ wily/Makefile.in	Fri Jul 31 00:12:21 1998
@@ -25,3 +25,3 @@
 MYLIBS=../libmsg/libmsg.a ../libframe/libframe.a ../libXg/libXg.a
-XLIBS=$(LIBS) @X_LIBS@ -lXt @X_PRE_LIBS@ -lX11 @X_EXTRA_LIBS@
+XLIBS=$(LIBS) -Wl,-R$(X11BASE)/lib @X_LIBS@ -lXt @X_PRE_LIBS@ -lX11 @X_EXTRA_LIBS@
 all: $(TARGET)

	
>Audit-Trail:
>Unformatted: