]>
git.saurik.com Git - apple/dyld.git/blob - testing/test-cases/dlopen-RTLD_NOLOAD.dtest/init-b.c
7 bool doneInitB
= false;
11 __attribute__((constructor
))
16 // "upward" link to libInitA.dylib
17 void* handle
= dlopen("libInitA.dylib", RTLD_NOLOAD
);
18 if ( handle
== NULL
) {
19 printf("[FAIL] dlopen-RTLD_NOLOAD-in-initializer: dlopen(libInitA.dylib, RTLD_NOLOAD) failed but it should have worked: %s\n", dlerror());