use ldid already in makefile

This commit is contained in:
matthias.ringwald 2009-09-28 21:23:31 +00:00
parent ffa95428fe
commit c50afb23e7
2 changed files with 2 additions and 2 deletions

View File

@ -22,9 +22,11 @@ clean:
$(NAME).dylib: $(NAME)Extension.mm
$(OBJC) $(CPPFLAGS) -dynamiclib -o $@ $(NAME)Extension.mm -init _$(NAME)Initialize $(LDFLAGS) $(LIB_LDFLAGS)
@USE_LDID@ export CODESIGN_ALLOCATE=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate ; ldid -S $@
$(NAME)-test: $(NAME)-test.c $(NAME).c
$(OBJC) $(CPPFLAGS) -o $@ $(NAME).c $(NAME)-test.c $(LDFLAGS) $(APP_LDFLAGS)
@USE_LDID@ export CODESIGN_ALLOCATE=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate ; ldid -S $@
install:
echo "SpringBoardAccess is not installed. Use .deb package"

View File

@ -10,8 +10,6 @@ mkdir -p SpringBoardAccess/usr/local/bin
cp SpringBoardAccess-test SpringBoardAccess/usr/local/bin
mkdir -p SpringBoardAccess/Library/MobileSubstrate/DynamicLibraries
export CODESIGN_ALLOCATE=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate ; ldid -S SpringBoardAccess.dylib
export CODESIGN_ALLOCATE=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate ; ldid -S SpringBoardAccess-test
cp SpringBoardAccess.dylib SpringBoardAccess.plist SpringBoardAccess/Library/MobileSubstrate/DynamicLibraries
echo Packaging SpringBoardAccess