Skip to content

Commit

Permalink
fix: add patch for DPF generate-ttl script to fix windows cross-compi…
Browse files Browse the repository at this point in the history
…lation build

Signed-off-by: Christopher Arndt <[email protected]>
  • Loading branch information
SpotlightKid committed Apr 26, 2024
1 parent 9091a4d commit b44c55c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ PLUGINS = YKChorus

DPF_PATCHES = \
patches/dpf/fix-lv2-version-export.patch \
patches/dpf/fix-generate-ttl.patch \

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

Expand Down
13 changes: 13 additions & 0 deletions patches/dpf/fix-generate-ttl.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/utils/generate-ttl.sh b/utils/generate-ttl.sh
index 0ddbb1f1..4fd38151 100755
--- a/utils/generate-ttl.sh
+++ b/utils/generate-ttl.sh
@@ -17,7 +17,7 @@ fi
PWD="$(dirname "${0}")"

if [ -f "${PWD}/lv2_ttl_generator.exe" ]; then
- GEN="${PWD}/lv2_ttl_generator.exe"
+ GEN="$(realpath ${PWD}/lv2_ttl_generator.exe)"
EXT=dll
else
GEN="$(realpath ${PWD}/lv2_ttl_generator)"

0 comments on commit b44c55c

Please sign in to comment.