diff options
author | midipix <writeonce@midipix.org> | 2024-03-17 16:02:00 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2024-03-17 16:02:00 +0000 |
commit | 4c3fb76f0341f4ac98f23a434fc741e1252d9627 (patch) | |
tree | 9c2bb699dc3866e3f2a397ab631431c272ab6673 /src/driver/slbt_driver_ctx.c | |
parent | 752cd9fff4d112e534cd137b30ddefb87b651b30 (diff) | |
download | slibtool-4c3fb76f0341f4ac98f23a434fc741e1252d9627.tar.bz2 slibtool-4c3fb76f0341f4ac98f23a434fc741e1252d9627.tar.xz |
slibtoolize mode: program skeleton, driver integration, and symlink extra.
Diffstat (limited to 'src/driver/slbt_driver_ctx.c')
-rw-r--r-- | src/driver/slbt_driver_ctx.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c index a5b3861..3bb0e58 100644 --- a/src/driver/slbt_driver_ctx.c +++ b/src/driver/slbt_driver_ctx.c @@ -454,6 +454,9 @@ int slbt_lib_get_driver_ctx( if (flags & SLBT_DRIVER_MODE_AR) cctx.mode = SLBT_MODE_AR; + else if (flags & SLBT_DRIVER_MODE_STOOLIE) + cctx.mode = SLBT_MODE_STOOLIE; + /* default flags (set at compile time and derived from symlink) */ cctx.drvflags = flags; @@ -484,6 +487,7 @@ int slbt_lib_get_driver_ctx( case SLBT_MODE_INSTALL: case SLBT_MODE_UNINSTALL: case SLBT_MODE_AR: + case SLBT_MODE_STOOLIE: break; default: @@ -531,6 +535,12 @@ int slbt_lib_get_driver_ctx( else if (!strcmp("ar",entry->arg)) cctx.mode = SLBT_MODE_AR; + + else if (!strcmp("stoolie",entry->arg)) + cctx.mode = SLBT_MODE_STOOLIE; + + else if (!strcmp("slibtoolize",entry->arg)) + cctx.mode = SLBT_MODE_STOOLIE; break; case TAG_FINISH: |