On Mon, Sep 20, 2004, Aaron Bostick wrote:

> I am trying to build a spec file for the 2.0 version of jabber.  One
> possible dependency is the berkeley db package which I have installed.
> However, my host system (Fedora) also has a db packages installed and
> the .so files are in /usr/lib.
>
> Is there a configure switch I can use to tell my package to build
> against the /opkg/lib/libdb.a file instead of the .so files of the host
> system?

Add "-L%{l_prefix}/lib" or even better "%{l_ldflags}" to LDFLAGS
or LIBS of Jabber's Makefile(s).

                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com

______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      [EMAIL PROTECTED]

Reply via email to