]>
git.saurik.com Git - apple/dyld.git/blob - unit-tests/test-cases/rpath-dlopen-indirect/bar.c
160109b01e4d2796e547936386c641574c027d59
10 void* handle
= dlopen("libfoo.dylib", RTLD_LAZY
);
11 if ( handle
== NULL
) {
12 FAIL("rpath-dlopen-indirect: %s", dlerror());
16 void* pFoo
= dlsym(handle
, "foo");
18 FAIL("rpath-dlopen-indirect: %s", dlerror());