u man:ld

-static
Do not link against shared libraries. This is only meaningful on platforms for which shared libraries are supported. The different variants of this option are for compatibility with various systems. You may use this option multiple times on the command line: it affects library searching for -l options which follow it. This option also implies --unresolved-symbols=report-all. This option can be used with -shared. Doing so means that a shared library is being created but that all of the library's external references must be resolved by pulling in entries from static libraries.
Note---if the linker is being invoked indirectly, via a compiler driver (e.g. gcc) then all the linker command line options should be prefixed by -Wl, (or whatever is appropriate for the particular compiler driver) like this:
gcc -Wl,--startgroup foo.o bar.o -Wl,--endgroup
kada bi se dodalo u makefile u liniji
LFLAGS = -Wl,-rpath,/usr/local/Trolltech/Qt-4.3.3/lib
ovo
-Wl ,-static ili samo -static
ili nešto slično?
EDIT: u vezi ovoga ,video sam prog. koji je linkovan samo na ove dve (recimo)
QTCORE4.DLL QTGUI4.DLL( ili je bio onaj stariji qt). s tim da se nalaze u istom direktoriju. ne znam kako do ovoga da se dodje.