Skip to content

Commit

Permalink
possible fix to per-gron#37
Browse files Browse the repository at this point in the history
  • Loading branch information
alvatar committed Feb 25, 2012
1 parent c342963 commit f49d3b0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/extras.scm
Expand Up @@ -19,7 +19,11 @@
(let* ((mod (resolve-one-module mod))
(perform-compile!
(lambda ()
(let ((path (module-reference-path mod)))
(let* ((module-ref-path (module-reference-path mod))
;; Check if the reference-path is from a package and process it properly
(path (if (package-module-path? module-ref-path)
(package-module-path-path module-ref-path)
module-ref-path)))
(let ((result (module-compile-bunch
'dyn
(string-append
Expand Down

0 comments on commit f49d3b0

Please sign in to comment.