pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/57077: cwrappers can't handle -Wl,-rpath,/usr/X11R7/lib while normal wrappers can
The following reply was made to PR pkg/57077; it has been noted by GNATS.
From: Niclas Rosenvik <youremailsarecrap%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: pkg/57077: cwrappers can't handle -Wl,-rpath,/usr/X11R7/lib while
normal wrappers can
Date: Mon, 7 Nov 2022 22:45:54 +0100
Ok I have been doing some more digging into this.
First of all the cc wrapper seems to be able to take
-Wl,-rpath,/usr/X11R7/lib so the problem seems to be
that clisp-link uses ld for linking instead of the compiler.
So if there is no intention to make cwrappers 100% functional
compatible with normal wrappers one way to solve
the problem is to make clisp-link use the compiler for linking.
On linux and many other platforms it does, see patch-aa in
lang/clisp .
The pkg-config files for X11 stuff that is in
${WRKSRC}/.buildlink/lib/pkg-config seems to be filled
with -Wl,-rpath,/usr/X11R7/lib
so pkg-config stuff is never to be passed to ld directly if
I understand correctly.
>That's correct behavior because the correct command line is
> -rpath /usr/X11R7/lib
Home |
Main Index |
Thread Index |
Old Index