Browse Source

Add SONAME to .so file

test_fixup
Vadim Lebedev 2 years ago
parent
commit
e66c2a24f3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libarchive/Makefile

+ 1
- 1
libarchive/Makefile View File

@@ -17,7 +17,7 @@ _libarchive_wrap.o: _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
${CC} _libarchive_wrap.o -shared $$(python${PYVER}-config --ldflags) -o __libarchive.so ${LIBS}
${CC} _libarchive_wrap.o -shared $$(python${PYVER}-config --ldflags) -Wl,-soname=__libarchive.so -o __libarchive.so ${LIBS}

clean:
rm -f *.o *.so *.pyc

Loading…
Cancel
Save