From 98dca8dc6c2494f4120db435328a81fbc1becf4e Mon Sep 17 00:00:00 2001 From: midipix Date: Wed, 21 Feb 2024 00:39:22 +0000 Subject: host interfaces: struct slbt_flavor_settings: added .mapsuffix. --- include/slibtool/slibtool.h | 1 + src/host/slbt_host_flavor.c | 16 ++++++++-------- 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"); -- cgit v1.2.3