aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Peter Korsgaard <jacmet@sunsite.dk>2008-06-16 11:16:28 +0000
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2008-06-16 11:16:28 +0000
commitf4c708675f781bd557caeeb0e645ea4665625254 (patch)
treec3d6f2a3384679b5f0ece47ebfd021d7a7aa4606
parent97321b01e0eeee77e3f59b0bc6b545bec2dc0723 (diff)
downloadbuildroot-f4c708675f781bd557caeeb0e645ea4665625254.tar.gz
buildroot-f4c708675f781bd557caeeb0e645ea4665625254.tar.bz2
libogg: move header install to seperate target so it isn't always out-of-date
-rw-r--r--package/libogg/libogg.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/package/libogg/libogg.mk b/package/libogg/libogg.mk
index e88b5785f9..61801a4bd7 100644
--- a/package/libogg/libogg.mk
+++ b/package/libogg/libogg.mk
@@ -56,14 +56,16 @@ ifneq ($(strip $(BR2_HAVE_MANPAGES)),y)
rm -rf $(TARGET_DIR)/usr/share/doc/$(LIBOGG_NAME)
endif
-$(TARGET_DIR)/usr/lib/libogg.a: $(TARGET_DIR)/usr/lib/libogg.so
+$(TARGET_DIR)/usr/lib/libogg.a: $(STAGING_DIR)/usr/lib/libogg.so
cp -dpf $(STAGING_DIR)/usr/lib/libogg.a $@
-libogg-header: $(TARGET_DIR)/usr/lib/libogg.a
+$(TARGET_DIR)/usr/include/ogg/ogg.h: $(STAGING_DIR)/usr/lib/libogg.so
mkdir -p $(TARGET_DIR)/usr/include/ogg
cp -dpf $(LIBOGG_DIR)/include/ogg/*.h \
$(TARGET_DIR)/usr/include/ogg
+libogg-header: $(TARGET_DIR)/usr/lib/libogg.a $(TARGET_DIR)/usr/include/ogg/ogg.h
+
libogg: uclibc pkgconfig $(TARGET_DIR)/usr/lib/libogg.so
libogg-source: $(DL_DIR)/$(LIBOGG_SOURCE)