Mercurial > mxe-octave
changeset 4830:eeb5b98e87ee
build-perl: Do build shared libperl; also install it in $(HOST_LIBDIR).
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 29 Aug 2018 18:36:26 -0400 |
parents | 6b3664df8ea0 |
children | 8dce91eb4b30 |
files | src/build-perl.mk |
diffstat | 1 files changed, 6 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/build-perl.mk Wed Aug 29 17:23:44 2018 -0400 +++ b/src/build-perl.mk Wed Aug 29 18:36:26 2018 -0400 @@ -10,9 +10,10 @@ $(PKG)_URL := http://www.cpan.org/src/5.0/$($(PKG)_FILE) $(PKG)_DEPS := -#ifeq ($(BUILD_SHARED),yes) -# $(PKG)_CONFIGURE_ARGS := -Duseshrplib -#endif +ifeq ($(BUILD_SHARED),yes) + ## Without this, building libproxy fails. + $(PKG)_CONFIGURE_ARGS := -Duseshrplib +endif ifeq ($(MXE_WINDOWS_BUILD),yes) define $(PKG)_BUILD @@ -27,5 +28,7 @@ && $(CONFIGURE_POST_HOOK) $(MAKE) -C '$(1)' -j '$(JOBS)' install DESTDIR='$(3)' + $(INSTALL) -m755 '$(1)/libperl.so' '$(3)/$(HOST_LIBDIR)' + endef endif