g++ -Llibary_path -static
みたいな感じでlibrary_pathを指定したらできない?
glibcをstatic linkするともれなくGPL汚染するけどね