audacia/lib-src/libvamp/fix-all-target.patch

28 lines
742 B
Diff

Description: Fix all target to not build disabled targets.
The all target should not try to build targets that are disabled by configure.
Otherwise make will try to build the programs (even if you disabled them) and
fail if libsndfile was not found.
Index: Makefile.in
===================================================================
--- Makefile.in (revision 12950)
+++ Makefile.in (working copy)
@@ -34,7 +34,7 @@
# clean -- remove binary targets
# distclean -- remove all targets
#
-default: @TARGETS@
+all: @TARGETS@
# Compile flags
#
@@ -231,8 +231,6 @@
rdfgen: $(RDFGEN_TARGET)
-all: sdk plugins host rdfgen test
-
$(SDK_STATIC): $(SDK_OBJECTS) $(API_HEADERS) $(SDK_HEADERS)
$(AR) r $@ $(SDK_OBJECTS)