Ticket #39496: patch-dylib-path.diff

File patch-dylib-path.diff, 580 bytes (added by jwatzman@…, 11 years ago)
  • lgi/core.c

    old new  
    476476#define MODULE_NAME_FORMAT_VERSION "lib%s-%d.dll"
    477477#define MODULE_NAME_FORMAT_PLAIN "lib%s.dll"
    478478#elif defined(__APPLE__)
    479 #define MODULE_NAME_FORMAT_VERSION "lib%s.%d.dylib"
    480 #define MODULE_NAME_FORMAT_PLAIN "lib%s.dylib"
     479#define MODULE_NAME_FORMAT_VERSION "%PREFIX%/lib/lib%s.%d.dylib"
     480#define MODULE_NAME_FORMAT_PLAIN "%PREFIX%/lib/lib%s.dylib"
    481481#else
    482482#define MODULE_NAME_FORMAT_VERSION "lib%s.so.%d"
    483483#define MODULE_NAME_FORMAT_PLAIN "lib%s.so"