From dbd229f23d887698fc0ea8c66602c78bb29cdf1c Mon Sep 17 00:00:00 2001 From: midipix Date: Mon, 18 Apr 2016 19:49:34 -0400 Subject: link mode: PE support: create libfoo.so.x as a copy of libfoo.so.x.y.z. --- src/logic/slbt_exec_link.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'src') 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( -- cgit v1.2.3