Skip to content

Commit efaafc4

Browse files
committed
fix(component_launcher): export LD_LIBRARY_PATH in component launcher scripts for proper library path handling
1 parent 3428572 commit efaafc4

35 files changed

+39
-29
lines changed

archive_later/ares/component_launcher.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ component_name="$(basename "$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")")"
55
component_path="$(cd "$(dirname "${BASH_SOURCE[0]}" )" && pwd)"
66

77
# Set LD_LIBRARY_PATH
8-
LD_LIBRARY_PATH="$component_path/lib:$rd_shared_libs/qt-6.8/lib:${LD_LIBRARY_PATH}"
8+
export LD_LIBRARY_PATH="$component_path/lib:$rd_shared_libs/qt-6.8/lib:${LD_LIBRARY_PATH}"
99

1010
# Set plugin paths
1111
export QT_PLUGIN_PATH="$rd_shared_libs/plugins:${QT_PLUGIN_PATH}"

archive_later/dosbox-x/component_launcher.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ component_name="$(basename "$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")")"
55
component_path="$(cd "$(dirname "${BASH_SOURCE[0]}" )" && pwd)"
66

77
# Set LD_LIBRARY_PATH
8-
LD_LIBRARY_PATH="$component_path/lib:$rd_shared_libs/qt-6.8/lib:${LD_LIBRARY_PATH}"
8+
export LD_LIBRARY_PATH="$component_path/lib:$rd_shared_libs/qt-6.8/lib:${LD_LIBRARY_PATH}"
99

1010
# Set plugin paths
1111
export QT_PLUGIN_PATH="$rd_shared_libs/plugins:${QT_PLUGIN_PATH}"

archive_later/eka2l1/component_launcher.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ component_name="$(basename "$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")")"
55
component_path="$(cd "$(dirname "${BASH_SOURCE[0]}" )" && pwd)"
66

77
# Set LD_LIBRARY_PATH
8-
LD_LIBRARY_PATH="$component_path/lib:$rd_shared_libs/qt-6.8/lib:${LD_LIBRARY_PATH}"
8+
export LD_LIBRARY_PATH="$component_path/lib:$rd_shared_libs/qt-6.8/lib:${LD_LIBRARY_PATH}"
99

1010
# Set plugin paths
1111
export QT_PLUGIN_PATH="$rd_shared_libs/plugins:${QT_PLUGIN_PATH}"

archive_later/flycast/component_launcher.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ component_name="$(basename "$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")")"
55
component_path="$(cd "$(dirname "${BASH_SOURCE[0]}" )" && pwd)"
66

77
# Set LD_LIBRARY_PATH
8-
LD_LIBRARY_PATH="$component_path/lib:$rd_shared_libs/qt-6.8/lib:${LD_LIBRARY_PATH}"
8+
export LD_LIBRARY_PATH="$component_path/lib:$rd_shared_libs/qt-6.8/lib:${LD_LIBRARY_PATH}"
99

1010
# Set plugin paths
1111
export QT_PLUGIN_PATH="$rd_shared_libs/plugins:${QT_PLUGIN_PATH}"

archive_later/gargoyle/component_launcher.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ component_name="$(basename "$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")")"
55
component_path="$(cd "$(dirname "${BASH_SOURCE[0]}" )" && pwd)"
66

77
# Set LD_LIBRARY_PATH
8-
LD_LIBRARY_PATH="$component_path/lib:$rd_shared_libs/qt-5.15/lib:${LD_LIBRARY_PATH}"
8+
export LD_LIBRARY_PATH="$component_path/lib:$rd_shared_libs/qt-5.15/lib:${LD_LIBRARY_PATH}"
99

1010
# Set plugin paths
1111
export QT_PLUGIN_PATH="$rd_shared_libs/plugins:${QT_PLUGIN_PATH}"

archive_later/hypseus/component_launcher.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ component_name="$(basename "$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")")"
55
component_path="$(cd "$(dirname "${BASH_SOURCE[0]}" )" && pwd)"
66

77
# Set LD_LIBRARY_PATH
8-
LD_LIBRARY_PATH="$component_path/lib:$rd_shared_libs/qt-6.8/lib:${LD_LIBRARY_PATH}"
8+
export LD_LIBRARY_PATH="$component_path/lib:$rd_shared_libs/qt-6.8/lib:${LD_LIBRARY_PATH}"
99

1010
# Set plugin paths
1111
export QT_PLUGIN_PATH="$rd_shared_libs/plugins:${QT_PLUGIN_PATH}"

archive_later/kegs/component_launcher.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
component_name="$(basename "$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")")"
55
component_path="$(cd "$(dirname "${BASH_SOURCE[0]}" )" && pwd)"
66

7-
LD_LIBRARY_PATH="$component_path:${LD_LIBRARY_PATH}"
7+
export LD_LIBRARY_PATH="$component_path:${LD_LIBRARY_PATH}"
88

99
log i "RetroDECK is now launching $component_name"
1010
log d "Library path is: $LD_LIBRARY_PATH"

archive_later/lindbergh/component_launcher.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ component_name="$(basename "$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")")"
55
component_path="$(cd "$(dirname "${BASH_SOURCE[0]}" )" && pwd)"
66

77
# Set LD_LIBRARY_PATH
8-
LD_LIBRARY_PATH="$component_path/lib:$component_path/lib32:$rd_shared_libs/qt-6.8/lib:${LD_LIBRARY_PATH}"
8+
export LD_LIBRARY_PATH="$component_path/lib:$component_path/lib32:$rd_shared_libs/qt-6.8/lib:${LD_LIBRARY_PATH}"
99

1010
# Set plugin paths
1111
export QT_PLUGIN_PATH="$rd_shared_libs/plugins:${QT_PLUGIN_PATH}"

archive_later/raze/component_launcher.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ component_name="$(basename "$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")")"
55
component_path="$(cd "$(dirname "${BASH_SOURCE[0]}" )" && pwd)"
66

77
# Set LD_LIBRARY_PATH
8-
LD_LIBRARY_PATH="$component_path/lib:$rd_shared_libs/qt-6.8/lib:${LD_LIBRARY_PATH}"
8+
export LD_LIBRARY_PATH="$component_path/lib:$rd_shared_libs/qt-6.8/lib:${LD_LIBRARY_PATH}"
99

1010
# Set plugin paths
1111
export QT_PLUGIN_PATH="$rd_shared_libs/plugins:${QT_PLUGIN_PATH}"

archive_later/scummvm/component_launcher.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ component_name="$(basename "$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")")"
55
component_path="$(cd "$(dirname "${BASH_SOURCE[0]}" )" && pwd)"
66

77
# set LD_LIBRARY_PATH
8-
LD_LIBRARY_PATH="$component_path/lib:$rd_shared_libs/qt-6.8/lib:${LD_LIBRARY_PATH}"
8+
export LD_LIBRARY_PATH="$component_path/lib:$rd_shared_libs/qt-6.8/lib:${LD_LIBRARY_PATH}"
99

1010
# set plugin paths
1111
export QT_PLUGIN_PATH="$rd_shared_libs/plugins:${QT_PLUGIN_PATH}"

0 commit comments

Comments
 (0)