diff options
-rw-r--r-- | rbutil/ipodpatcher/Makefile | 2 | ||||
-rw-r--r-- | rbutil/libtools.make | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/rbutil/ipodpatcher/Makefile b/rbutil/ipodpatcher/Makefile index 3b7ec807a0..bae805671e 100644 --- a/rbutil/ipodpatcher/Makefile +++ b/rbutil/ipodpatcher/Makefile | |||
@@ -29,7 +29,7 @@ endif | |||
29 | 29 | ||
30 | ifeq ($(findstring Darwin,$(shell uname)),Darwin) | 30 | ifeq ($(findstring Darwin,$(shell uname)),Darwin) |
31 | # additional frameworks to link on on OS X | 31 | # additional frameworks to link on on OS X |
32 | CFLAGS += -framework CoreFoundation -framework IOKit | 32 | LDOPTS += -framework CoreFoundation -framework IOKit |
33 | endif | 33 | endif |
34 | 34 | ||
35 | LIBSOURCES = ipodpatcher.c fat32format.c arc4.c \ | 35 | LIBSOURCES = ipodpatcher.c fat32format.c arc4.c \ |
diff --git a/rbutil/libtools.make b/rbutil/libtools.make index 43ef3d9386..1ba0f77f72 100644 --- a/rbutil/libtools.make +++ b/rbutil/libtools.make | |||
@@ -82,7 +82,7 @@ $(BINARY): $(OBJS) $(EXTRADEPS) $(addprefix $(OBJDIR),$(EXTRALIBOBJS)) | |||
82 | @echo LD $@ | 82 | @echo LD $@ |
83 | # $(SILENT)mkdir -p $(dir $@) | 83 | # $(SILENT)mkdir -p $(dir $@) |
84 | # EXTRADEPS need to be built into OBJDIR. | 84 | # EXTRADEPS need to be built into OBJDIR. |
85 | $(SILENT)$(CROSS)$(CC) $(CFLAGS) -o $(BINARY) \ | 85 | $(SILENT)$(CROSS)$(CC) $(CFLAGS) $(LDOPTS) -o $(BINARY) \ |
86 | $(OBJS) $(addprefix $(OBJDIR),$(EXTRADEPS)) \ | 86 | $(OBJS) $(addprefix $(OBJDIR),$(EXTRADEPS)) \ |
87 | $(addprefix $(OBJDIR),$(EXTRALIBOBJS)) | 87 | $(addprefix $(OBJDIR),$(EXTRALIBOBJS)) |
88 | 88 | ||