diff --git a/libarchive/__init__.py b/libarchive/__init__.py index 30b31cf..8fbc000 100644 --- a/libarchive/__init__.py +++ b/libarchive/__init__.py @@ -339,7 +339,7 @@ class Entry(object): symLinkPath = "" if entry.issym(): - libarchive.archive_entry_copy_symlink(e, symLinkPath) + symLinkPath = _libarchive.archive_entry_symlink(e) print(symLinkPath)