summaryrefslogtreecommitdiff
path: root/src/logic/slbt_exec_install.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-04-15 10:06:44 +0000
committermidipix <writeonce@midipix.org>2021-04-15 13:26:15 +0000
commitcc0827cebd811eab83d091ffde3780e5c0084160 (patch)
tree87209192602b7a0f61d774632e03339c9bffe9a7 /src/logic/slbt_exec_install.c
parent1ce3d5d23f5c66c8223b5567f0d7d5b630e819e1 (diff)
downloadslibtool-cc0827cebd811eab83d091ffde3780e5c0084160.tar.bz2
slibtool-cc0827cebd811eab83d091ffde3780e5c0084160.tar.xz
internals: slbt_create_symlink(): properly handle absolute-path link targets.
Diffstat (limited to 'src/logic/slbt_exec_install.c')
-rw-r--r--src/logic/slbt_exec_install.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/logic/slbt_exec_install.c b/src/logic/slbt_exec_install.c
index 3429d91..5e5d440 100644
--- a/src/logic/slbt_exec_install.c
+++ b/src/logic/slbt_exec_install.c
@@ -231,7 +231,7 @@ static int slbt_exec_install_import_libraries(
dctx,ectx,
implib,
hostlnk,
- false))
+ SLBT_SYMLINK_DEFAULT))
return SLBT_NESTED_ERROR(dctx);
return 0;
@@ -540,7 +540,7 @@ static int slbt_exec_install_entry(
if (slbt_create_symlink(
dctx,ectx,
target,dlnkname,
- false))
+ SLBT_SYMLINK_DEFAULT))
return SLBT_NESTED_ERROR(dctx);
if (frelease)
@@ -602,7 +602,7 @@ static int slbt_exec_install_entry(
if (slbt_create_symlink(
dctx,ectx,
target,dlnkname,
- false))
+ SLBT_SYMLINK_DEFAULT))
return SLBT_NESTED_ERROR(dctx);
}