Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
hebasto committed Sep 22, 2024
1 parent 9c66c39 commit 2994bcb
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions depends/patches/qt/dont_hardcode_pwd.patch
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,18 @@ index 08b49a8d..faea5b55 100755

# do this early so we don't store it in config.status

--- a/qtbase/bin/qt-cmake.in
+++ b/qtbase/bin/qt-cmake.in
@@ -2,7 +2,7 @@

# The directory of this script is the expanded absolute path of the "$qt_prefix/bin" directory.
script_dir_path=`dirname $0`
-script_dir_path=`(cd "$script_dir_path"; /bin/pwd)`
+script_dir_path=`(cd "$script_dir_path"; pwd)`

# Try to use original cmake, otherwise to make it relocatable, use any cmake found in PATH.
original_cmake_path="@CMAKE_COMMAND@"

--- a/qtbase/bin/qt-configure-module.in
+++ b/qtbase/bin/qt-configure-module.in
@@ -2,7 +2,7 @@
Expand Down

0 comments on commit 2994bcb

Please sign in to comment.