Re: One solution for error loading mod_webkit on a Core 2 Duo
Christoph Zwerschke <[email protected]> Fri, 14 Mar 2008 19:35:57 +0100
| Newsgroups | gmane.comp.python.webware |
|---|---|
| Message-ID | <[email protected]> |
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/