branch: externals/jinx
commit 448c9eb8423ceb1c0751e51a35813e6545143445
Author: Pedro A. Aranda GutiƩrrez <[email protected]>
Commit: GitHub <[email protected]>
Add include and linkpaths from FreeBSD (#195)
* Include path for libenchant in FreeBSD
* Include link path for FreeBSD
---
jinx.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/jinx.el b/jinx.el
index 12ffcb2c1a..f66dd91ff9 100644
--- a/jinx.el
+++ b/jinx.el
@@ -597,7 +597,7 @@ If CHECK is non-nil, always check first."
,@(split-string-and-unquote
(condition-case nil
(car (process-lines "pkg-config" "--cflags" "--libs"
"enchant-2"))
- (error "-I/usr/include/enchant-2 -lenchant-2"))))))
+ (error "-I/usr/include/enchant-2
-I/usr/local/include/enchant-2 -L/usr/local/lib -lenchant-2"))))))
(with-current-buffer (get-buffer-create "*jinx module compilation*")
(let ((inhibit-read-only t))
(erase-buffer)