Mercurial > mxe-octave
comparison src/hdf5.mk @ 3222:5072829ce458
hdf5.mk: set configure environment for native builds
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 08 Aug 2013 11:46:36 -0400 |
parents | f2bbfa69647e |
children | cf6f40cededb |
comparison
equal
deleted
inserted
replaced
3221:c05da3e2f652 | 3222:5072829ce458 |
---|---|
31 hdf5_cv_ldouble_to_llong_accurate=yes \ | 31 hdf5_cv_ldouble_to_llong_accurate=yes \ |
32 hdf5_cv_llong_to_ldouble_correct=yes | 32 hdf5_cv_llong_to_ldouble_correct=yes |
33 endif | 33 endif |
34 endif | 34 endif |
35 | 35 |
36 ifeq ($(MXE_NATIVE_BUILD),yes) | |
37 $(PKG)_CONFIGURE_ENV := LD_LIBRARY_PATH=$(LD_LIBRARY_PATH) | |
38 endif | |
39 | |
36 define $(PKG)_UPDATE | 40 define $(PKG)_UPDATE |
37 echo 'Warning: Updates are temporarily disabled for package hdf5.' >&2; | 41 echo 'Warning: Updates are temporarily disabled for package hdf5.' >&2; |
38 echo $(hdf5_VERSION) | 42 echo $(hdf5_VERSION) |
39 endef | 43 endef |
40 | 44 |
41 define $(PKG)_BUILD | 45 define $(PKG)_BUILD |
42 # build GCC and support libraries | 46 # build GCC and support libraries |
43 cd '$(1)' && autoreconf | 47 cd '$(1)' && autoreconf |
44 mkdir '$(1)/.build' | 48 mkdir '$(1)/.build' |
45 cd '$(1)/.build' && '$(1)/configure' \ | 49 cd '$(1)/.build' && $($(PKG)_CONFIGURE_ENV) '$(1)/configure' \ |
46 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ | 50 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ |
47 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ | 51 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
48 $(ENABLE_SHARED_OR_STATIC) \ | 52 $(ENABLE_SHARED_OR_STATIC) \ |
49 --prefix='$(HOST_PREFIX)' \ | 53 --prefix='$(HOST_PREFIX)' \ |
50 --disable-direct-vfd \ | 54 --disable-direct-vfd \ |