source file
rsetti::fastidio { /tmp }-> cat foo.c #include void ACFunction() { printf(\"ACFunction()\\n\"); AGoFunction()
By using:
-Wl,-undefined -Wl,dynamic_lookup
or
clang -shared -undefined dynamic_lookup -o libfoo.so foo.c
seems to maintain the same behaviour of GCC.