|
From: Francesco M. <f18...@ya...> - 2006-12-17 14:39:13
|
Hakki Dogusan ha scritto: >> This has the side effect of replacing any user's lua5.1 library when >> doing "make install" but I think this is really not worth the extra the >> dependency which wx.dll currently has. >> >> Francesco >> > > > It may be a radical change but, what about making > lua as -weak- requirement? well, lua is not exactly a "requirement" for wxLua currently: that is, wxLua already have lua sources inside it so that it does not require an external lua library ;) > - if user already has lua installed use it, install only wxLua > - otherwise build and install lua and wxLua this may be a Good Thing; however I'm unsure; it would add a lot of complexity to the build system because if we want to use the system-wide lua then we should also avoid to include the lua headers which we have in "wxLua\modules\lua" in favour of the system-wide headers (since it's not 100% granted that the two set of headers are identic - and this could lead to weird build errors). It's so simple to just overwrite the system-wide install of lua that I'd prefer that way (provided that we document that clearly in the readme) ;) > ps. I never use "make install" on windows. nor do I; the overwriting matter is unix-only in fact. Thanks, Francesco |