From 4cf8f946b405628c18d2d89798e28790db109cdd Mon Sep 17 00:00:00 2001 From: Vadim Lebedev Date: Tue, 9 Aug 2022 14:47:49 +0200 Subject: [PATCH] Cosmetics --- libarchive/Makefile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/libarchive/Makefile b/libarchive/Makefile index 1999128..863f30d 100644 --- a/libarchive/Makefile +++ b/libarchive/Makefile @@ -1,4 +1,4 @@ -CFLAGS = -g +CFLAGS = -g INCLUDE = -I/usr/local/include -I/usr/include -I. LIBS = -L /usr/local/lib -larchive @@ -8,16 +8,12 @@ PYVER ?= 3.9 all: __libarchive.so _libarchive_wrap.c: _libarchive.i - #swig -python -c++ -Wall -shadow _libarchive.i swig -python -Wall -shadow _libarchive.i _libarchive_wrap.o: _libarchive_wrap.c - echo ${CC} -c ${CFLAGS} -fPIC $$(python${PYVER}-config --cflags) _libarchive_wrap.c ${CC} -c ${CFLAGS} -fPIC $$(python${PYVER}-config --cflags) ${DEFINES} _libarchive_wrap.c -# ${CXX} -c ${CFLAGS} -fPIC $$(python${PYVER}-config --cflags) -DPyUnicode_AS_STRING=PyUnicode_AS_DATA _libarchive_wrap.cxx __libarchive.so: _libarchive_wrap.o - echo INCLUDE=$INCLUDE LIBS=$LIBS ${CC} _libarchive_wrap.o -shared $$(python${PYVER}-config --ldflags) -Wl,-soname=__libarchive.so -o __libarchive.so ${LIBS} clean: