Skip to content

Commit b44c55c

Browse files
committed
fix: add patch for DPF generate-ttl script to fix windows cross-compilation build
Signed-off-by: Christopher Arndt <[email protected]>
1 parent 9091a4d commit b44c55c

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ PLUGINS = YKChorus
7979

8080
DPF_PATCHES = \
8181
patches/dpf/fix-lv2-version-export.patch \
82+
patches/dpf/fix-generate-ttl.patch \
8283

8384
PLUGIN_BASE_URI = https://chrisarndt.de/plugins/
8485

patches/dpf/fix-generate-ttl.patch

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
diff --git a/utils/generate-ttl.sh b/utils/generate-ttl.sh
2+
index 0ddbb1f1..4fd38151 100755
3+
--- a/utils/generate-ttl.sh
4+
+++ b/utils/generate-ttl.sh
5+
@@ -17,7 +17,7 @@ fi
6+
PWD="$(dirname "${0}")"
7+
8+
if [ -f "${PWD}/lv2_ttl_generator.exe" ]; then
9+
- GEN="${PWD}/lv2_ttl_generator.exe"
10+
+ GEN="$(realpath ${PWD}/lv2_ttl_generator.exe)"
11+
EXT=dll
12+
else
13+
GEN="$(realpath ${PWD}/lv2_ttl_generator)"

0 commit comments

Comments
 (0)