summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-02-21 00:39:22 +0000
committermidipix <writeonce@midipix.org>2024-02-21 03:20:24 +0000
commit98dca8dc6c2494f4120db435328a81fbc1becf4e (patch)
tree792b8ad14ea3b3acdc8d8f75c2374cc1f26efb99
parent70541a234bf6199c9b6dc9914c4b9dd8a126e659 (diff)
downloadslibtool-98dca8dc6c2494f4120db435328a81fbc1becf4e.tar.bz2
slibtool-98dca8dc6c2494f4120db435328a81fbc1becf4e.tar.xz
host interfaces: struct slbt_flavor_settings: added .mapsuffix.
-rw-r--r--include/slibtool/slibtool.h1
-rw-r--r--src/host/slbt_host_flavor.c16
2 files changed, 9 insertions, 8 deletions
diff --git a/include/slibtool/slibtool.h b/include/slibtool/slibtool.h
index 41d5f8e..4185cb2 100644
--- a/include/slibtool/slibtool.h
+++ b/include/slibtool/slibtool.h
@@ -287,6 +287,7 @@ struct slbt_flavor_settings {
const char * exesuffix;
const char * impprefix;
const char * impsuffix;
+ const char * mapsuffix;
const char * ldpathenv;
char * picswitch;
};
diff --git a/src/host/slbt_host_flavor.c b/src/host/slbt_host_flavor.c
index a0b3a3b..7b5ac13 100644
--- a/src/host/slbt_host_flavor.c
+++ b/src/host/slbt_host_flavor.c
@@ -21,47 +21,47 @@ static const char * ldrpath_elf[] = {
#define SLBT_FLAVOR_SETTINGS(flavor, \
bfmt,pic, \
arp,ars,dsop,dsos,osds,osdf, \
- exep,exes,impp,imps, \
+ exep,exes,impp,imps,maps, \
ldenv) \
static const struct slbt_flavor_settings flavor = { \
bfmt,arp,ars,dsop,dsos,osds,osdf, \
- exep,exes,impp,imps, \
+ exep,exes,impp,imps,maps, \
ldenv,pic}
SLBT_FLAVOR_SETTINGS(host_flavor_default, \
"elf","-fPIC", \
"lib",".a","lib",".so",".so","", \
- "","","","", \
+ "","","","",".ver", \
"LD_LIBRARY_PATH");
SLBT_FLAVOR_SETTINGS(host_flavor_midipix, \
"pe","-fPIC", \
"lib",".a","lib",".so",".so","", \
- "","","lib",".lib.a", \
+ "","","lib",".lib.a",".expsyms.def", \
"LD_LIBRARY_PATH");
SLBT_FLAVOR_SETTINGS(host_flavor_mingw, \
"pe",0, \
"lib",".a","lib",".dll","",".dll", \
- "",".exe","lib",".dll.a", \
+ "",".exe","lib",".dll.a",".expsyms.def",\
"PATH");
SLBT_FLAVOR_SETTINGS(host_flavor_cygwin, \
"pe",0, \
"lib",".a","lib",".dll","",".dll", \
- "",".exe","lib",".dll.a", \
+ "",".exe","lib",".dll.a",".expsyms.def",\
"PATH");
SLBT_FLAVOR_SETTINGS(host_flavor_msys, \
"pe",0, \
"lib",".a","lib",".dll","",".dll", \
- "",".exe","lib",".dll.a", \
+ "",".exe","lib",".dll.a",".expsyms.def",\
"PATH");
SLBT_FLAVOR_SETTINGS(host_flavor_darwin, \
"macho","-fPIC", \
"lib",".a","lib",".dylib","",".dylib", \
- "","","","", \
+ "","","","",".exp", \
"DYLD_LIBRARY_PATH");