From d2a2df03f5e9835436599b72e779c3c60c705f5b Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Sun, 15 Aug 2010 02:47:07 +0000 Subject: [PATCH] Fix ./configure build for cycript -p. --- GNUmakefile.in | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 -- 2.47.2