summaryrefslogtreecommitdiffhomepage
path: root/src/helper
diff options
context:
space:
mode:
Diffstat (limited to 'src/helper')
-rw-r--r--src/helper/slbt_archive_import.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/helper/slbt_archive_import.c b/src/helper/slbt_archive_import.c
index 924a54f..051c817 100644
--- a/src/helper/slbt_archive_import.c
+++ b/src/helper/slbt_archive_import.c
@@ -6,6 +6,7 @@
#include <slibtool/slibtool.h>
#include "slibtool_driver_impl.h"
+#include "slibtool_symlink_impl.h"
#include "slibtool_errinfo_impl.h"
/* legacy fallback, no longer in use */
@@ -56,6 +57,11 @@ int slbt_archive_import(
char * dstarchive,
char * srcarchive)
{
+ if (slbt_symlink_is_a_placeholder(
+ slbt_driver_fdcwd(dctx),
+ srcarchive))
+ return 0;
+
return slbt_archive_import_impl(
dctx,ectx,
dstarchive,