From b87f1a3a889927a0a9a3ccd120350278fb4d7574 Mon Sep 17 00:00:00 2001 From: falkTX Date: Fri, 15 May 2020 20:13:16 +0100 Subject: [PATCH] Fix ttl not generated in Windows builds Signed-off-by: falkTX --- data/windows/build-win.sh | 1 + source/plugin/Makefile | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/data/windows/build-win.sh b/data/windows/build-win.sh index 454a21819..332f3288f 100755 --- a/data/windows/build-win.sh +++ b/data/windows/build-win.sh @@ -72,6 +72,7 @@ export LDFLAGS="-L${DEPS_PREFIX}/lib" export MOC_QT5="wine ${MSYS2_PREFIX}/bin/moc.exe" export RCC_QT5="wine ${MSYS2_PREFIX}/bin/rcc.exe" export UIC_QT5="wine ${MSYS2_PREFIX}/bin/uic.exe" + } # --------------------------------------------------------------------------------------------------------------------- diff --git a/source/plugin/Makefile b/source/plugin/Makefile index 7d56a4f0a..3e903c76e 100644 --- a/source/plugin/Makefile +++ b/source/plugin/Makefile @@ -50,6 +50,12 @@ NEEDS_WINE = true endif endif +ifneq ($(CROSS_COMPILING),true) +CAN_GENERATE_LV2_TTL = true +else ifeq ($(NEEDS_WINE),true) +CAN_GENERATE_LV2_TTL = true +endif + # --------------------------------------------------------------------------------------------------------------------- # Libs @@ -174,7 +180,7 @@ TARGETS += \ $(BINDIR)/carla.lv2/carla-ui$(LIB_EXT) endif -ifneq ($(CROSS_COMPILING),true) +ifeq ($(CAN_GENERATE_LV2_TTL),true) TARGETS += \ $(BINDIR)/carla.lv2/manifest.ttl endif