Mercurial > mxe-octave
diff src/blas.mk @ 3021:6ea3d6ad4f44
Update for build static compile option
* src/blas.mk: if BUILD_STATIC, install the static library.
* src/bzip2.mk: if BUILD_STATIC, install teh static library
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Sat, 08 Jun 2013 10:43:11 -0400 |
parents | ec6f91539788 |
children | 5ef49fb3299d |
line wrap: on
line diff
--- a/src/blas.mk Sat Jun 08 09:59:45 2013 -0400 +++ b/src/blas.mk Sat Jun 08 10:43:11 2013 -0400 @@ -26,4 +26,9 @@ if [ $(BUILD_SHARED) = yes ]; then \ $(MAKE_SHARED_FROM_STATIC) --ar '$(MXE_AR)' --ld '$(MXE_F77)' '$(1)/libblas.a' --install '$(INSTALL)' --libdir '$(HOST_LIBDIR)' --bindir '$(HOST_BINDIR)'; \ fi + + if [ $(BUILD_STATIC) = yes ]; then \ + $(INSTALL) -d '$(HOST_LIBDIR)'; \ + $(INSTALL) '$(1)/libblas.a' '$(HOST_LIBDIR)/'; \ + fi endef