diff options
| author | Nicholas Rodrigues Lordello <[email protected]> | 2023-12-12 12:44:08 +0100 |
|---|---|---|
| committer | Nicholas Rodrigues Lordello <[email protected]> | 2023-12-12 23:30:29 +0100 |
| commit | 28b288cff2ab27a2f22e7561a367702016573570 (patch) | |
| tree | e189d17fe5b38d71337986d8adceb0e91c8769e3 /config/emacs/early-init.el | |
| parent | 7ee13d421e052a7ea7a2c26ac3548e7269fb97f0 (diff) | |
Only apply macOS hack on macOS
Diffstat (limited to 'config/emacs/early-init.el')
| -rw-r--r-- | config/emacs/early-init.el | 4 |
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") +) |
