Index: trunk/src/plug_footprint.c =================================================================== --- trunk/src/plug_footprint.c (revision 1421) +++ trunk/src/plug_footprint.c (revision 1422) @@ -180,3 +180,9 @@ if (fctx->backend->fclose != NULL) fctx->backend->fclose(fctx->backend, f, fctx); } + +const char *fp_get_library_shell(void) +{ + return Settings.LibraryShell; +} + Index: trunk/src/plug_footprint.h =================================================================== --- trunk/src/plug_footprint.h (revision 1421) +++ trunk/src/plug_footprint.h (revision 1422) @@ -71,4 +71,9 @@ extern plug_fp_t *plug_fp_chain; +/* Optional pcb-rnd-side glue for some implementations */ + +/* Return the library shell string (from Settings) */ +const char *fp_get_library_shell(void); + #endif Index: trunk/src_plugins/fp_fs/fp_fs.c =================================================================== --- trunk/src_plugins/fp_fs/fp_fs.c (revision 1421) +++ trunk/src_plugins/fp_fs/fp_fs.c (revision 1422) @@ -468,7 +468,7 @@ { char *basename, *params, *fullname; FILE *f = NULL; - const char *libshell = Settings.LibraryShell; + const char *libshell = fp_get_library_shell(); fctx->field[F_IS_PARAMETRIC].i = fp_dupname(name, &basename, ¶ms); if (basename == NULL)