From: Francesco M. <f18...@ya...> - 2005-09-25 09:14:49
|
Hi, Joseph Blough wrote: > Okay, I've moved wxspellchecker and shortcutpanel to Bakefile, but I'm > having 1 problem. I can't get the XRC libraries to link in an order > that works on my system (SuSE 9.3 with wxGTK-2.6.2). I've changed a > generated GNUmakefile line from > > $(CXX) -o $@ $(WXSPELLCHECKER_DEMO_OBJECTS) $(LDFLAGS) -L../lib > $(WX_LIBS) ../lib/libmyspell_lib.a ../lib/libwxspellchecker.a > > to > > $(CXX) -o $@ $(WXSPELLCHECKER_DEMO_OBJECTS) $(LDFLAGS) -L../lib > $(WX_LIBS) ../lib/libmyspell_lib.a ../lib/libwxspellchecker.a $(WX_LIBS) > > and this fixed it for me, but I couldn't find a way to get Bakefile to > put the $(WX_LIBS) after the libwxspellchecker.a automatically. this is a bug in wxpresets. I submitted a patch which you can download from https://sourceforge.net/tracker/?func=detail&atid=309863&aid=1303833&group_id=9863 to fix this. I also modified wxCode bakefiles so that WX_* options are defined also for the "gnu" format... (I guess you already did that on your local copy of wxCode bakefiles to get the "gnu" format to work with you component's bakefiles.... right ?) Thanks for reporting ! Francesco |