]>
git.saurik.com Git - apple/dyld.git/blob - unit-tests/test-cases/env-DYLD_FALLBACK_LIBRARY_PATH/main.c
8 extern void compress();
10 int main(int argc
, const char* argv
[])
14 if ( dladdr(&compress
, &info
) ) {
15 //fprintf(stderr, "_compress found in %s\n", info.dli_fname);
16 if ( strstr(info
.dli_fname
, argv
[1]) != 0 ) {
17 PASS("env-DYLD_FALLBACK_LIBRARY_PATH");
21 FAIL("env-DYLD_FALLBACK_LIBRARY_PATH");