Files
patchelf/tests/main.c
Eelco Dolstra 26f47987c5 * Fix the tests on FreeBSD. On FreeBSD, the RPATH is scoped: adding a
directory to the RPATH of an executable doesn't cause it to be used
  for resolving dependencies of libraries, only the dependencies of
  the executable itself.  So don't rely on that.  A better fix would
  be to support --set-rpath on libraries, but that's a lot harder.
2008-05-09 15:46:54 +00:00

15 lines
201 B
C

#include <stdio.h>
char buf[16 * 1024 * 1024];
int foo();
int main(int argc, char * * argv)
{
int x;
printf("Hello World\n");
x = foo();
printf("Result is %d\n", x);
return x;
}