mes: Bugfix for search-path. Fixes running MesCC on Guile.
[mes.git] / module / mescc / mescc.scm
index 8a86d9b96d1cafbc412a195661b6d54c8f580f4c..45f9c9137d59582592be800fc3014a70c25d19f1 100644 (file)
                 ((equal? machine "32") "x86-mes")
                 ((equal? machine "64") "x86_64-mes")
                 (else "x86-mes")))
-         (path (cons* srcdir-lib
+         (path (cons* "."
+                      srcdir-lib
                       (prefix-file options "lib")
                       (filter-map (multi-opt 'library-dir) options)))
          (arch-file-name (string-append arch "/" file-name))