libldap.la has this in it
# Libraries that this one depends upon.
dependency_libs=' /sw/lib/liblber.la /sw/lib/libsasl2.la -lresolv
-L/sw/lib -lssl -lcrypto -ldl -lkrb5 /sw/lib/libdb-4.1.la'
and since libdb-4.1.la is in db41 or db41-ssl that means anything that
NEEDDS db3 (ie my upcoming php4
On 2002.07.16, at 13:22, Justin Hallett wrote:
Now my problem is that -L/sw/lib is first and it must be getting it from
the .la file since if i remove the $(foo_LDADD) from the link like I
don't
have the -L/sw/lib but I need the -L/sw/lib to come after the
-L$(srcdir)/foo/.libs or it will
not in this case...it works for every link execpt when it links lib A to B
since this pkg has too libs. If I don't like A to B it's fine as well.
[EMAIL PROTECTED] writes:
Usually, this can be avoided by,
NoSetLDFLAGS: true
SetLIBS: -L%p/lib
¸.·´^`·.,][JFH][`·.,¸¸.·´][JFH][¸.·´^`·.,
Justin
I got a little question...in a Makefile I have
foo_LDADD: $(srcdir)/foo/bar.la
then in the link line I have
$(LINK) -rpath $(libdir) $(OBJECTS) $(foo_LDADD)
this does a
c++ -dynamiclib -flat_namespace -undefined suppress -o
.libs/foo.0.0.0.dylib blah.lo -L/sw/lib -L../foo/.libs -lbar -lc