diff options
author | midipix <writeonce@midipix.org> | 2016-04-30 12:25:47 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-04-30 15:43:22 -0400 |
commit | a715306378dc1558b6b979c8ff133b1f614aa141 (patch) | |
tree | 6b1afbb97ba0694e6986b9fb4af855831f93cca2 /src/logic/slbt_exec_link.c | |
parent | 02ae4d9d252c530a8c1aa3f48197f650844655e7 (diff) | |
download | slibtool-a715306378dc1558b6b979c8ff133b1f614aa141.tar.bz2 slibtool-a715306378dc1558b6b979c8ff133b1f614aa141.tar.xz |
link mode: wrapper: -module support: do not prepend 'lib' prefix to 'dlname'.
Diffstat (limited to 'src/logic/slbt_exec_link.c')
-rw-r--r-- | src/logic/slbt_exec_link.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/logic/slbt_exec_link.c b/src/logic/slbt_exec_link.c index 0c188a7..1b3c998 100644 --- a/src/logic/slbt_exec_link.c +++ b/src/logic/slbt_exec_link.c @@ -1019,7 +1019,9 @@ int slbt_exec_link( /* libfoo.so */ sprintf(solnk,"%s%s%s", - dctx->cctx->settings.dsoprefix, + (dctx->cctx->drvflags & SLBT_DRIVER_MODULE) + ? "" + : dctx->cctx->settings.dsoprefix, dctx->cctx->libname, dctx->cctx->settings.dsosuffix); |