diff options
author | midipix <writeonce@midipix.org> | 2024-02-13 03:53:17 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2024-02-13 03:53:17 +0000 |
commit | 6ab3f1cde643d5e9408bac0b1ad10fb901cf2294 (patch) | |
tree | 6cd8b97c32ff22d0cfb5d0543065a9ac19dd95f6 /src/internal/slibtool_lconf_impl.c | |
parent | 94aeb31299e62cd9030f3f3df5b99babfc289b7d (diff) | |
download | slibtool-6ab3f1cde643d5e9408bac0b1ad10fb901cf2294.tar.bz2 slibtool-6ab3f1cde643d5e9408bac0b1ad10fb901cf2294.tar.xz |
slbt_get_lconf_flags(): keep the located libtool script mapped for later use.
Diffstat (limited to 'src/internal/slibtool_lconf_impl.c')
-rw-r--r-- | src/internal/slibtool_lconf_impl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/internal/slibtool_lconf_impl.c b/src/internal/slibtool_lconf_impl.c index b1bde60..da0ffdd 100644 --- a/src/internal/slibtool_lconf_impl.c +++ b/src/internal/slibtool_lconf_impl.c @@ -807,7 +807,8 @@ int slbt_get_lconf_flags( /* all done */ - munmap(addr,st.st_size); + ctx->lconf.addr = addr; + ctx->lconf.size = st.st_size; return 0; } |