Mercurial > mxe-octave
changeset 1063:89a26644a624
workaround for static linking of package libarchive
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Tue, 15 Jun 2010 15:31:22 +0200 |
parents | 2cf6d16404a9 |
children | ae7bf5ed7620 |
files | src/libarchive.mk |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/libarchive.mk Tue Jun 15 14:24:48 2010 +0200 +++ b/src/libarchive.mk Tue Jun 15 15:31:22 2010 +0200 @@ -19,6 +19,8 @@ endef define $(PKG)_BUILD + $(SED) -i '1i#ifndef LIBARCHIVE_STATIC\n#define LIBARCHIVE_STATIC\n#endif' -i '$(1)/libarchive/archive.h' + $(SED) -i '1i#ifndef LIBARCHIVE_STATIC\n#define LIBARCHIVE_STATIC\n#endif' -i '$(1)/libarchive/archive_entry.h' cd '$(1)' && ./configure \ --host='$(TARGET)' \ --prefix='$(PREFIX)/$(TARGET)' \