fredvs wrote: > After googling, I found that it is possible to use a parameter for the > linker: > http://stackoverflow.com/questions/2726993/how-to-specify-preference-of-library-path > > For a c program: > > "Use the rpath option via gcc to linker - runtime library search path, will > be used instead of looking in standard dir (gcc option): > -Wl,-rpath,$(DEFAULT_LIB_INSTALL_PATH)" > > Could it be possible to fpc to use that option while linking ?
FPC's way to pass custom parameters to the linker is using the -k parameter: -k-rpath -k$(DEFAULT_LIB_INSTALL_PATH), or "-k-rpath $(DEFAULT_LIB_INSTALL_PATH)" Jonas _______________________________________________ fpc-pascal maillist - [email protected] http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
