From: Francesco M. <fr...@us...> - 2008-01-14 23:30:24
|
Update of /cvsroot/wxlua/wxLua/build/bakefiles In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv30427/build/bakefiles Modified Files: wxluabase.bkl Log Message: add to the linker the -rpath flag only under Unix Index: wxluabase.bkl =================================================================== RCS file: /cvsroot/wxlua/wxLua/build/bakefiles/wxluabase.bkl,v retrieving revision 1.44 retrieving revision 1.45 diff -C2 -d -r1.44 -r1.45 *** wxluabase.bkl 14 Jan 2008 23:00:24 -0000 1.44 --- wxluabase.bkl 14 Jan 2008 23:30:20 -0000 1.45 *************** *** 286,297 **** also before installing the component system-wide: --> <define-tag name="rpath-to" rules="exe,module"> ! <set var="RPATH"> ! <if cond="FORMAT=='gnu' and SHARED=='1'">-Wl,-rpath,$(value)/gcc_dll</if> ! <if cond="FORMAT=='autoconf' and SHARED=='1'">-Wl,-rpath,$(value)</if> ! </set> ! <!-- for autoconf&gnu only (see comments above): --> ! <ldflags>$(RPATH)</ldflags> </define-tag> --- 286,307 ---- also before installing the component system-wide: --> + + <if cond="FORMAT=='autoconf'"> + <option name="RPATH_FLAGS"/> + </if> + <define-tag name="rpath-to" rules="exe,module"> ! <!-- for autoconf&gnu only (see comments above): --> ! ! <if cond="FORMAT=='gnu'"> ! <set var="RPATH_FLAGS"> ! <if cond="SHARED=='1'">-Wl,-rpath,$(value)/gcc_dll</if> ! </set> ! <ldflags>$(RPATH_FLAGS)</ldflags> ! </if> ! <if cond="FORMAT=='autoconf'"> ! <ldflags>$(RPATH_FLAGS)</ldflags> ! </if> </define-tag> |