summaryrefslogtreecommitdiff
path: root/libarchive/Makefile
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@redhat.com>2024-01-19 18:45:31 +0100
committerTomas Bzatek <tbzatek@redhat.com>2024-01-19 18:45:31 +0100
commit22f9564566e5a6577be9bbd3e4297fb761d2e2d1 (patch)
treeb19ebcd2846bb48fa4674486812c4d02d757a29d /libarchive/Makefile
parenta55d09bb2d74944b7ea5a7e81b7d3e86bc04cd42 (diff)
downloadtuxcmd-modules-22f9564566e5a6577be9bbd3e4297fb761d2e2d1.tar.xz
libarchive: Use the new common logging macros
Diffstat (limited to 'libarchive/Makefile')
-rw-r--r--libarchive/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/libarchive/Makefile b/libarchive/Makefile
index 373f166..9c7a144 100644
--- a/libarchive/Makefile
+++ b/libarchive/Makefile
@@ -8,11 +8,11 @@ CC = gcc
CFLAGS = -I. -I/usr/include \
-Wall -Wtype-limits -fPIC -O2 -g -ggdb \
-DG_DISABLE_DEPRECATED -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE \
- -D__VERBOSE_DEBUGx
+ -D__DEBUG_INTERNALx -D_LOG_DOMAIN="libarchive"
LIB_SUFFIX = `if test \`uname -m\` = x86_64 -o \`uname -m\` = ppc64; then echo 64; fi`
-VFS_COMMON_OBJECTS = filelist.o filelist-vfs-intf.o strutils.o vfsutils.o
+VFS_COMMON_OBJECTS = filelist.o filelist-vfs-intf.o strutils.o vfsutils.o logutils.o
VFS_OBJECTS = libarchive.o
@@ -36,6 +36,7 @@ filelist.o: filelist.h filelist.c
filelist-vfs-intf.o: filelist-vfs-intf.h filelist-vfs-intf.c
strutils.o: strutils.h strutils.c
vfsutils.o: vfsutils.h vfsutils.c
+logutils.o: logutils.h logutils.c
install::
$(INSTALL) ./libarchive_plugin.so $(DESTDIR)/lib$(LIB_SUFFIX)/tuxcmd/