diff --git a/libarchive/Makefile b/libarchive/Makefile index 863f30d..d86fe81 100644 --- a/libarchive/Makefile +++ b/libarchive/Makefile @@ -2,7 +2,6 @@ CFLAGS = -g INCLUDE = -I/usr/local/include -I/usr/include -I. LIBS = -L /usr/local/lib -larchive -#DEFINES = -DPyUnicode_AS_STRING=PyUnicode_AS_DATA PYVER ?= 3.9 all: __libarchive.so @@ -11,7 +10,7 @@ _libarchive_wrap.c: _libarchive.i swig -python -Wall -shadow _libarchive.i _libarchive_wrap.o: _libarchive_wrap.c - ${CC} -c ${CFLAGS} -fPIC $$(python${PYVER}-config --cflags) ${DEFINES} _libarchive_wrap.c + ${CC} -c ${CFLAGS} -fPIC $$(python${PYVER}-config --cflags) _libarchive_wrap.c __libarchive.so: _libarchive_wrap.o ${CC} _libarchive_wrap.o -shared $$(python${PYVER}-config --ldflags) -Wl,-soname=__libarchive.so -o __libarchive.so ${LIBS} diff --git a/libarchive/__init__.py b/libarchive/__init__.py index 9dbb434..424e7a4 100644 --- a/libarchive/__init__.py +++ b/libarchive/__init__.py @@ -307,7 +307,6 @@ class Entry(object): def __init__(self, pathname=None, size=None, mtime=None, mode=None, hpos=None, encoding=ENCODING): - # , symlink=None self.pathname = pathname self.size = size self.mtime = mtime