summaryrefslogtreecommitdiffhomepage
path: root/src/helper/slbt_copy_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/helper/slbt_copy_file.c')
-rw-r--r--src/helper/slbt_copy_file.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/helper/slbt_copy_file.c b/src/helper/slbt_copy_file.c
index 39e1dd9..a8fd840 100644
--- a/src/helper/slbt_copy_file.c
+++ b/src/helper/slbt_copy_file.c
@@ -6,6 +6,7 @@
#include <slibtool/slibtool.h>
#include "slibtool_spawn_impl.h"
+#include "slibtool_symlink_impl.h"
#include "slibtool_errinfo_impl.h"
int slbt_copy_file(
@@ -19,6 +20,10 @@ int slbt_copy_file(
char * cp[4];
int ret;
+ /* placeholder? */
+ if (slbt_symlink_is_a_placeholder(src))
+ return 0;
+
/* cp argv */
cp[0] = "cp";
cp[1] = src;