summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/output/slbt_output_config.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/output/slbt_output_config.c b/src/output/slbt_output_config.c
index 4c502d8..2c51f86 100644
--- a/src/output/slbt_output_config.c
+++ b/src/output/slbt_output_config.c
@@ -93,6 +93,7 @@ static int slbt_output_config_mkvars(const struct slbt_driver_ctx * dctx)
int fdout;
const char * shared_option;
const char * static_option;
+ const char * prefer_sltdl;
const struct slbt_source_version * verinfo;
const struct slbt_common_ctx * cctx;
@@ -105,6 +106,9 @@ static int slbt_output_config_mkvars(const struct slbt_driver_ctx * dctx)
static_option = (dctx->cctx->drvflags & SLBT_DRIVER_DISABLE_STATIC)
? disable : enable;
+ prefer_sltdl = (dctx->cctx->drvflags & SLBT_DRIVER_PREFER_SLTDL)
+ ? enable : disable;
+
cctx = dctx->cctx;
/* header */
@@ -132,6 +136,9 @@ static int slbt_output_config_mkvars(const struct slbt_driver_ctx * dctx)
if (slbt_dprintf(fdout,"# static libraries?\n" "build_old_libs=%s\n\n",static_option) < 0)
return SLBT_SYSTEM_ERROR(dctx,0);
+ if (slbt_dprintf(fdout,"# prefer sltdl?\n" "prefer_sltdl=%s\n\n",prefer_sltdl) < 0)
+ return SLBT_SYSTEM_ERROR(dctx,0);
+
if (slbt_dprintf(fdout,"# host identification\n" "host=%s\n\n",cctx->host.host) < 0)
return SLBT_SYSTEM_ERROR(dctx,0);