diff options
Diffstat (limited to 'src/logic/slbt_exec_link.c')
-rw-r--r-- | src/logic/slbt_exec_link.c | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/logic/slbt_exec_link.c b/src/logic/slbt_exec_link.c index 3931162..0275455 100644 --- a/src/logic/slbt_exec_link.c +++ b/src/logic/slbt_exec_link.c @@ -793,10 +793,15 @@ static int slbt_exec_link_create_library_symlink( else strcpy(lnkname,ectx->dsofilename); - return slbt_create_symlink( - dctx,ectx, - target,lnkname, - false); + if (fmajor && (dctx->cctx->drvflags & SLBT_DRIVER_IMAGE_PE)) + return slbt_copy_file( + dctx,ectx, + target,lnkname); + else + return slbt_create_symlink( + dctx,ectx, + target,lnkname, + false); } int slbt_exec_link( |