nevermind, it was missing a -Wl,...
also, it seems the -l:../../stuff
doesn't quite work without an additional path setting... -L../..
I seem to recall this is mentioned differently in some documentation....
(either the program library howto or info ld)