Hi Erik, I think you need to do it this way: dir1/*.o dir2/libx.a -> dir3/liby.so The point to -static is to prefer libx.a rather than libx.so when you ask for -lx. By specifying dir2/libx.so, you are bypassing the -static facility because you are using an explicitly named library. HTH, --Eljay