From 9c25c7c53b06e150ef59831dc171441148135acc Mon Sep 17 00:00:00 2001 From: midipix Date: Mon, 7 Mar 2016 12:18:33 -0500 Subject: driver: added context initialization for -shared and -static. --- src/driver/slbt_driver_ctx.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src') diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c index 1567b92..cdc309d 100644 --- a/src/driver/slbt_driver_ctx.c +++ b/src/driver/slbt_driver_ctx.c @@ -209,6 +209,14 @@ int slbt_get_driver_ctx( case TAG_PREFER_NON_PIC: cctx.drvflags |= SLBT_DRIVER_ANTI_PIC; break; + + case TAG_SHARED: + cctx.drvflags |= SLBT_DRIVER_SHARED; + break; + + case TAG_STATIC: + cctx.drvflags |= SLBT_DRIVER_STATIC; + break; } } else nunits++; -- cgit v1.2.3