Subject: --export-dynamic
To: None <>
From: Lubomir Sedlacik <>
List: tech-pkg
Date: 06/15/2002 09:34:24
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable


i am fixing various pkgsrc packages to compile on Solaris and one of
things causing problems is --export-dynamic passed to linker what
Solaris' /usr/ccs/bin/ld doesn't like.

i see two ways of fixing this in pkgsrc now, one add this flag to LIBS
(or LDFLAGS) if OPSYS *is* NetBSD, other if it *isn't* SunOS.  as i
don't have access to any GNU/Linux or Mac OS X machine to test this on,
i'd like to ask which way is The Right Thing(tm) to do?

and when i am at it, it would be nice to unify this if it's possible so
it would be either set in LIBS or LDFLAGS (for me LDFLAGS is the right
one, because it definitely sets *flag* for ld, not a library).  what do
you think?


-- Lubomir Sedlacik <>   ASCII Ribbon campaign against  /"\=
--                  <>   e-mail in gratuitous HTML and  \ /=
--                                       Microsoft proprietary formats   X =
-- PGPkey:                                  / \=
-- Key Fingerprint: DBEC 8BEC 9A90 ECEC 0FEF  716E 59CE B70B 7E3B 70E2     =

Content-Type: application/pgp-signature
Content-Disposition: inline

Version: GnuPG v1.0.7 (NetBSD)