diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/helper/slbt_copy_file.c | 5 |
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; |