aboutsummaryrefslogtreecommitdiff
path: root/config/emacs/early-init.el
diff options
context:
space:
mode:
Diffstat (limited to 'config/emacs/early-init.el')
-rw-r--r--config/emacs/early-init.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/emacs/early-init.el b/config/emacs/early-init.el
index c624f5b..6201658 100644
--- a/config/emacs/early-init.el
+++ b/config/emacs/early-init.el
@@ -14,4 +14,6 @@
(setq warning-suppress-log-types '((comp) (bytecomp)))
;;; HACK: Work around native compilation errors on macOS...
-(setenv "LIBRARY_PATH" "/opt/local/lib/gcc12/gcc/arm64-apple-darwin23/12.3.0")
+(if (eq system-type 'darwin)
+ (setenv "LIBRARY_PATH" "/opt/local/lib/gcc12/gcc/arm64-apple-darwin23/12.3.0")
+)