Christian Damus(deleted)
|
Re: static linking problem: -Bstatic in LIB variable
|
Christian Damus(deleted)
10/15/2009 1:42 PM
post40061
|
Re: static linking problem: -Bstatic in LIB variable
Hi, Marc,
Hmm ... it should work for you, then. I have no trouble.
Try the attached projects, to see what the result is for you. See also
how they compare to your projects. A couple of points to note:
- the "zz" project builds is configured to build both dynamic (*.so)
and
static (*.a) libraries. Without that, the option to change the
linker
option in the "yy" project doesn't exist
- I am using the option to link with the appropriate variant (which
results in the caret ("^") in the LIBS macro which is yet more
.qnx_internal.mk magic)
For me, the correct linker command-line is generated at build time.
If you can share a small example that demonstrates your problem, I could
have a look at that.
HTH,
Christian
|
|
|