Alexander Southgate schrieb:
> Actually, this line needed an extra space after -WI,".  Then it builds
> all 3 archs properly:
> 
> LDFLAGS=-Wl," -arch x86_64 -arch ppc -arch i386"
> 
> Still, it seems to work without specifying -WI at all.

Ok. (Btw, make sure you have no typos. It should be a lower-case l here, 
not an upper-case I.)

It seems that options without -Wc or -Wl are passed to both compiler and 
linker. So probably you can do the following

FLAGS=-arch x86_64 -arch ppc -arch i386

#   compile the DSO file
mod_webkit.la: $(SRC)
     $(APXS) -c $(FLAGS) -o mod_webkit.la $(DEF) $(SRC)

Can you check that?

-- Christoph





-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Webware-discuss mailing list
Webware-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to