diff options
author | Volker Grabsch <vog@notjusthosting.com> | 2010-06-15 13:31:22 (GMT) |
---|---|---|
committer | Volker Grabsch <vog@notjusthosting.com> | 2010-06-15 13:31:22 (GMT) |
commit | 8cf74a51a445629960fd875e58f6aa45fe35eb49 (patch) | |
tree | 5552d553260e05ff7d2edaa562a65f4eb6d92207 /src | |
parent | f3aa2c7f7a44f932c60115c1d92e5c71b404b823 (diff) | |
download | mxe-8cf74a51a445629960fd875e58f6aa45fe35eb49.zip mxe-8cf74a51a445629960fd875e58f6aa45fe35eb49.tar.gz mxe-8cf74a51a445629960fd875e58f6aa45fe35eb49.tar.bz2 |
workaround for static linking of package libarchive
Diffstat (limited to 'src')
-rw-r--r-- | src/libarchive.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libarchive.mk b/src/libarchive.mk index dd4d2b5..453c520 100644 --- a/src/libarchive.mk +++ b/src/libarchive.mk @@ -19,6 +19,8 @@ define $(PKG)_UPDATE 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)' \ |