summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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");