Subject: -Wl,-R issue
To: None <firstname.lastname@example.org>
From: Julio Merino <email@example.com>
Date: 04/13/2002 00:19:17
Content-Type: text/plain; charset=us-ascii
I'm packaging the program TeXmacs. Everything was working fine until I
set PKG_DEVELOPER to yes (although the program seems to be working fine).
When installing, it fails complaining that libraries won't be able to
find other libs. It suggests adding -Wl,-R... flags in the Makefile, so
everything will work fine.
So, I've added:
Where PKGNAME is TeXmacs-184.108.40.206, which matches the installation dir.
The problem is that the compilation does not take care about it. I'm
thinking about the need to patch some files, but as I've been looking at
the compilation log, I've seen something strange.
While some libraries are built I see the following argument passed to
the compiler: -Wl,-R/usr/pkg/lib. I get impressed about how it's getting
there. I've taken a look to bsd.pkg.mk, and I see where this is defined;
it looks completly "normal", so I can't understand why that flag is
beeing used but mine is not.
So what should I do?
Of course it runs NetBSD - http://www.netbsd.org
Julio Merino <firstname.lastname@example.org>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (NetBSD)
Comment: For info see http://www.gnupg.org
-----END PGP SIGNATURE-----