From: Jay Freeman (saurik) Date: Sun, 15 Aug 2010 02:47:07 +0000 (+0000) Subject: Fix ./configure build for cycript -p. X-Git-Tag: v0.9.432~5 X-Git-Url: https://git.saurik.com/cycript.git/commitdiff_plain/d2a2df03f5e9835436599b72e779c3c60c705f5b Fix ./configure build for cycript -p. --- diff --git a/GNUmakefile.in b/GNUmakefile.in index 01a0c96..7bb0164 100644 --- a/GNUmakefile.in +++ b/GNUmakefile.in @@ -185,8 +185,11 @@ inject += Mach/Inject.lo Mach/Inject.lo: Trampoline.t.hpp Baton.hpp -%.t.hpp: %.t.cpp trampoline.sh Baton.hpp Trampoline.hpp - $(srcdir)/trampoline.sh $@ .libs/lib$*.t.$(dll) $* $(sed) $(otool) $(lipo) $(nm) $(libtool) --mode=link $(cxx) -c -fno-stack-protector -fno-exceptions -I$(srcdir)/include -o lib$*.t.la $< $(cflags) -rpath $(libdir) +%.t.lo: %.t.cpp Baton.hpp Trampoline.hpp + $(libtool) --mode=compile $(cxx) $(cflags) -c -o $@ $< -fno-stack-protector -fno-exceptions + +%.t.hpp: %.t.lo trampoline.sh + $(srcdir)/trampoline.sh $@ .libs/lib$*.t.$(dll) $* $(sed) $(otool) $(lipo) $(nm) $(libtool) --mode=link $(cxx) $(ldflags) -o lib$*.t.la $< -rpath $(libdir) endif endif