Skip to content

Commit

Permalink
Fix portability for systems which don't have dlopen or libarchive
Browse files Browse the repository at this point in the history
Fixes: ecfd4dd ("Decouple --without-libarchive and HAVE_ARCHIVE_H")
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
  • Loading branch information
tytso committed Dec 5, 2024
1 parent 44b850b commit 0a7832a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion misc/create_inode_libarchive.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
#include "create_inode_libarchive.h"
#include "support/nls-enable.h"

#ifdef CONFIG_DISABLE_LIBARCHIVE
#if (!(defined(CONFIG_DLOPEN_LIBARCHIVE) || defined(HAVE_ARCHIVE_H)) || \
defined(CONFIG_DIABLE_LIBARCHIVE))

/* If ./configure was run with --without-libarchive, then only
* __populate_fs_from_tar() remains in this file and will return an error. */
Expand Down

0 comments on commit 0a7832a

Please sign in to comment.