diff options
Diffstat (limited to 'src/logic')
-rw-r--r-- | src/logic/slbt_exec_install.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/logic/slbt_exec_install.c b/src/logic/slbt_exec_install.c index 82c7983..1faa305 100644 --- a/src/logic/slbt_exec_install.c +++ b/src/logic/slbt_exec_install.c @@ -476,6 +476,8 @@ static int slbt_exec_install_entry( if (slbt_set_alternate_host(dctx,host,host)) return SLBT_NESTED_ERROR(dctx); + fpe = !strcmp(dctx->cctx->asettings.imagefmt,"pe"); + /* libfoo.a --> libfoo.so */ strcpy(dot,dsosuffix); @@ -493,13 +495,6 @@ static int slbt_exec_install_entry( dest ? (char *)dest->arg : *dst)) return SLBT_NESTED_ERROR(dctx); - /* PE support: does .libs/libfoo.so.def exist? */ - if ((size_t)snprintf(dstfile,sizeof(dstfile),"%s.def", - slnkname) >= sizeof(dstfile)) - return SLBT_BUFFER_ERROR(dctx); - - fpe = !strcmp(dctx->cctx->asettings.imagefmt,"pe"); - /* basename */ if ((base = strrchr(slnkname,'/'))) base++; |