sorry ... x_list.c is in now ...
so under extra_env['PLATFORM'] == 'darwin', try something like this: extra_env.Append(LINKFLAGS='-bundle -bundle_loader src/pd')
...good idea, in that it does insert the correct linkflags, but - bundle conflicts with -dynamiclib, so we need to figure out where that's coming from: I'd guess it's something to do with the extra_env.SharedLibrary() directive, but I don't know where that's pulling info from...
ok ... this is fixed ... please test ...
t