summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mdk-stage1/init.c2
-rw-r--r--mdk-stage1/rescue-gui.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/mdk-stage1/init.c b/mdk-stage1/init.c
index 7c48f64ec..7f18c3ee0 100644
--- a/mdk-stage1/init.c
+++ b/mdk-stage1/init.c
@@ -59,7 +59,7 @@ static inline long reboot(unsigned int command)
char * env[] = {
"PATH=/usr/bin:/bin:/sbin:/usr/sbin:/mnt/sbin:/mnt/usr/sbin:/mnt/bin:/mnt/usr/bin",
"LD_LIBRARY_PATH=/lib:/usr/lib:/mnt/lib:/mnt/usr/lib"
-#if defined(__x86_64__)
+#if defined(__x86_64__) || defined(__aarch64__)
":/lib64:/usr/lib64:/mnt/lib64:/mnt/usr/lib64"
#endif
,
diff --git a/mdk-stage1/rescue-gui.c b/mdk-stage1/rescue-gui.c
index c7aae6126..e1b14be2e 100644
--- a/mdk-stage1/rescue-gui.c
+++ b/mdk-stage1/rescue-gui.c
@@ -48,7 +48,7 @@ static inline long reboot(void)
char * env[] = {
"PATH=/usr/bin:/bin:/sbin:/usr/sbin:/mnt/sbin:/mnt/usr/sbin:/mnt/bin:/mnt/usr/bin",
"LD_LIBRARY_PATH=/lib:/usr/lib:/mnt/lib:/mnt/usr/lib"
-#if defined(__x86_64__)
+#if defined(__x86_64__) || defined(__aarch64__)
":/lib64:/usr/lib64:/mnt/lib64:/mnt/usr/lib64"
#endif
,