From: Nicola Pero <nicola@brainstorm.co.uk>
To: Yen-Ju Chen <yjchenx@hotmail.com>
CC: help-gnustep@gnu.org
Subject: Re: Call library from bundles
Date: Tue, 24 Sep 2002 03:17:55 +0100 (BST)
> Hi,
>
> I'm writing a content inspector bundle (myBundle) for GWorkspace,
> which uses my own GNUstep library, ex. called myLibrary.
> So myBundle should link to myLibrary.
> The weird thing is that when GWorkspace load myBundle,
> it keeps complaining that the class in myLibrary can't be found.
> I set the ADDITIONAL_GUI_LIBS += -lmyLibrary
> and xxx_LIBRARIES_DEPEND_UPON += -lmyLibrary besides the gworkspace
libraries
> in GNUmakefile of myBundle, but it doesn't work.
Hi Yen-Ju,
my suggestion would be to try
xxx_BUNDLE_LIBS += -lmyLibrary
or just
BUNDLE_LIBS += -lmyLibrary
It should work :-)
Let me know if it doesn't.
_______________________________________________
Help-gnustep mailing list
Help-gnustep@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnustep