[csw-maintainers] GAR: Adding a /opt/csw/lib/foo/64 --> /opt/csw/lib/foo/{amd64, sparcv9} link
Maciej (Matchek) Blizinski
maciej at opencsw.org
Mon Nov 23 13:41:37 CET 2009
I'm working on a library package with the *.so files in
/opt/csw/lib/foo. The package will have 64-bit support, so the shared
objects will be:
/opt/csw/lib/foo/*.so
/opt/csw/lib/foo/sparcv9/*.so
/opt/csw/lib/foo/amd64/*.so
I've noticed that CSWcommon provides a symlink: /opt/csw/lib/64. It
points to amd64 or sparcv9 depending on the host architecture. This
link is needed to provide a architecture independent -L flag for
64-bit builds: /opt/csw/lib/foo/64.
I guess that something along the lines of ln -s sparcv9
/opt/csw/lib/foo/64, or amd64, depending on the architecture. What's
the right GAR idiom for it? Should it be a post-merge target?
Maciej
More information about the maintainers
mailing list