Hi,

John Labenski ha scritto:
> On 1/14/08, John Labenski <[EMAIL PROTECTED]> wrote:
>>> Here are the updated patches: (it needed STC, to compile with wxStEdit)
>>> http://trac.macports.org/projects/macports/browser/trunk/dports/
>>> graphics/wxLua-devel/files/
>> Francesco, patch-Makefile.in ??? This is a bakefile fix, dunno how to fix it.
> 
> I get either "malformed condition" or "only weak condition allowed in
> this context" depending on where I put the condition for
> "PLATFORM_MACOSX!='1'" or "WX_PORT!='mac'".
yes, this is because PLATFORM_* vars are set at configure-time by 
autoconf and are thus "options" => they create a strong condition.


> wxluabase.bkl
> 
>     <define-tag name="rpath-to" rules="exe,module">
>             <set var="RPATH">
>                 <if cond="FORMAT=='gnu' and SHARED=='1' and
> PLATFORM_MACOSX!='1'">-Wl,-rpath,$(value)/gcc_dll</if>
>                 <if cond="FORMAT=='autoconf' and SHARED=='1' and
> PLATFORM_MACOSX!='1'">-Wl,-rpath,$(value)</if>
>             </set>
> 
>             <!-- for autoconf&gnu only (see comments above): -->
>             <ldflags>$(RPATH)</ldflags>
>     </define-tag>
> 
> Any ideas?
if we find that the -rpath must really be removed I'd suggest just doing:

     <define-tag name="rpath-to" rules="exe,module">
         <option name="RPATH"/>

         <!-- for autoconf&gnu only (see comments above): -->
         <ldflags>$(RPATH)</ldflags>
     </define-tag>

and then in configure.ac set RPATH "manually" if PLATFORM_MACOSX!='1'

But I'm unsure this is really necessary and instead I think it's nice to 
have the rpath stuff also under Mac (so that you can run binaries when 
you compile wxLua before installing system-wide)...

For a "Mac bundle" it probably makes less sense but still should be 
harmless...

Francesco


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to