libogg: fix libogg.a target

Based on patch by Conrad Parker.
This commit is contained in:
Peter Korsgaard 2008-06-16 11:16:10 +00:00
parent 2b57bfa365
commit 97321b01e0

View File

@ -55,11 +55,9 @@ $(TARGET_DIR)/usr/lib/libogg.so: $(STAGING_DIR)/usr/lib/libogg.so
ifneq ($(strip $(BR2_HAVE_MANPAGES)),y)
rm -rf $(TARGET_DIR)/usr/share/doc/$(LIBOGG_NAME)
endif
touch $@
$(TARGET_DIR)/usr/lib/libogg.a: $(TARGET_DIR)/usr/lib/libogg.so
cp -dpf $(LIBOGG_DIR)/lib/libogg.a $(TARGET_DIR)/usr/lib/
touch $@
cp -dpf $(STAGING_DIR)/usr/lib/libogg.a $@
libogg-header: $(TARGET_DIR)/usr/lib/libogg.a
mkdir -p $(TARGET_DIR)/usr/include/ogg