aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/org/euandre/queue.scm12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/org/euandre/queue.scm b/src/org/euandre/queue.scm
index 1ba944c..624e5a8 100644
--- a/src/org/euandre/queue.scm
+++ b/src/org/euandre/queue.scm
@@ -265,9 +265,15 @@
"return;"))))
(add-before 'configure 'setup-environment
(lambda* (#:key outputs inputs #:allow-other-keys)
- (setenv "CCARGS" (string-append "-DUSE_TLS -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I"
- (assoc-ref inputs "cyrus-sasl")
- "/include/sasl"))
+ (setenv "CCARGS"
+ (string-join (list
+ "-DUSE_TLS"
+ "-DUSE_SASL_AUTH"
+ "-DUSE_CYRUS_SASL"
+ "-I"
+ (string-append
+ (assoc-ref inputs "cyrus-sasl") "/include/sasl"))
+ " "))
(setenv "AUXLIBS" "-lnsl -lcrypto -lssl -lsasl2")
(let* ((out (assoc-ref outputs "out"))
(bin (string-append out "/bin"))