summarylogtreecommitdiffstats
path: root/rm-srcdir-in-bin.patch
diff options
context:
space:
mode:
authorEric Anderson2021-09-25 16:02:50 -0700
committerEric Anderson2021-09-25 16:02:50 -0700
commit10df99bd87bc3c78c75d815548842d9d0f1a4166 (patch)
tree395fb4ad92fca12476a9c052851968be335c3468 /rm-srcdir-in-bin.patch
parented37ab56165e85f53318e118f8d2745f2781f0f2 (diff)
downloadaur-10df99bd87bc3c78c75d815548842d9d0f1a4166.tar.gz
Bump to 2.3.4. Now using source compilation
Diffstat (limited to 'rm-srcdir-in-bin.patch')
-rw-r--r--rm-srcdir-in-bin.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/rm-srcdir-in-bin.patch b/rm-srcdir-in-bin.patch
new file mode 100644
index 000000000000..1a098db566ff
--- /dev/null
+++ b/rm-srcdir-in-bin.patch
@@ -0,0 +1,11 @@
+--- a/desktop_version/CMakeLists.txt
++++ b/desktop_version/CMakeLists.txt
+@@ -293,6 +293,8 @@
+ endif()
+
+ target_link_libraries(VVVVVV physfs-static tinyxml2-static lodepng-static)
++ cmake_path(GET CMAKE_SOURCE_DIR PARENT_PATH REPO_DIR)
++ target_compile_options(physfs-static PRIVATE "-ffile-prefix-map=${REPO_DIR}=.")
+ else()
+ find_package(utf8cpp CONFIG)
+