External, Non-PPA KXStudio Repository
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
514B

  1. --- suil-static-0.10.12.orig/src/suil_internal.h
  2. +++ suil-static-0.10.12/src/suil_internal.h
  3. @@ -113,8 +113,12 @@ suil_host_init(void);
  4. {
  5. #define N_SLICES 4
  6. +#ifdef KXSTUDIO_SUIL_MODULE_DIR
  7. + const char* const mod_dir = KXSTUDIO_SUIL_MODULE_DIR;
  8. +#else
  9. const char* const env_dir = getenv("SUIL_MODULE_DIR");
  10. const char* const mod_dir = env_dir ? env_dir : SUIL_MODULE_DIR;
  11. +#endif
  12. const char* const slices[N_SLICES] = {
  13. mod_dir, SUIL_DIR_SEP SUIL_MODULE_PREFIX, module_name, SUIL_MODULE_EXT};