workaround for static linking of package libarchive

This commit is contained in:
Volker Grabsch 2010-06-15 15:31:22 +02:00
parent f3aa2c7f7a
commit 8cf74a51a4
1 changed files with 2 additions and 0 deletions

View File

@ -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)' \