isl_qpolynomial_drop_dims: properly handle nested spaces
[platform/upstream/isl.git] / Makefile.am
index 55b51ae..be7844e 100644 (file)
@@ -228,4 +228,5 @@ install-data-local: $(srcdir)/isl.py
        '') echo Cannot find isl library name. GDB bindings not installed.;; \
        *) echo $(INSTALL_DATA) $(srcdir)/isl.py \
                $(DESTDIR)$(libdir)/$$libisl-gdb.py; \
+       test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"; \
        $(INSTALL_DATA) $(srcdir)/isl.py $(DESTDIR)$(libdir)/$$libisl-gdb.py; esac