1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-04-30 15:49:41 +02:00
audacity/lib-src/libvamp/fix-all-target.patch
benjamin.drung@gmail.com c2a15f6df6 libvamp: 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.

We will need a working all target when we want to use automake for Audacity.
2013-11-18 14:35:39 +00:00

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)