diff options
-rw-r--r-- | Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index c3bd8f6..8c73a13 100644 --- a/Makefile.am +++ b/Makefile.am @@ -32,7 +32,7 @@ SUFFIXES = .scm .go .ffi drmaa/v1/ffi.scm: drmaa/v1/ffi.ffi $(AM_V_GEN)$(top_builddir)/pre-inst-env $(GUILE_TOOLS) compile-ffi -I $(top_srcdir)/include -X -o "$@" "$<" && \ - $(SED) -e 's,(define drmaa-v1-ffi-llibs (list)),(define drmaa-v1-ffi-llibs (delay (list (dynamic-link (getenv "GUILE_DRMAA_LIBRARY"))))),' \ + $(SED) -e 's,(define drmaa-v1-ffi-llibs (list)),(define drmaa-v1-ffi-llibs (delay (list (dynamic-link (or (getenv "GUILE_DRMAA_LIBRARY") (error "GUILE_DRMAA_LIBRARY must be set!")))))),' \ -e 's,drmaa-v1-ffi-llibs),(force drmaa-v1-ffi-llibs)),' -i $@ SOURCES = drmaa.scm \ |