Переглянути джерело
Resolves an issue when compiling ECL on OS X.
@loader_path is not available in this context, which means the library cannot load.
This results in an error:
<Result>
<Exception><Source>Roxie</Source><Message>Error loading /var/lib/HPCCSystems/queries/myroxie/libW20150402-131125.dylib: dlopen(/var/lib/HPCCSystems/queries/myroxie/libW20150402-131125.dylib, 2): Library not loaded: @loader_path/../lib/libeclrtl.dylib
Referenced from: /var/lib/HPCCSystems/queries/myroxie/libW20150402-131125.dylib
Reason: image not found</Message></Exception>
</Result>
This fixes that error and allows the ECL->C to link properly.
This final commit allows the helloworld.ecl to pass on OS X.
(running esp, dali, eclcc, and roxie)