From: Dominique D. <DDe...@lg...> - 2004-02-26 19:45:48
|
> From: Baz =A4=D1=AA=B0 [mailto:sky...@ya...] > How can I include multiple library path in CC task? >=20 > I am trying to include libpcap.a from /usr/lib and some other = libraries > from local build/lib directory. Here is my code and what did i do = wrong? >=20 > <target name=3D"compile" depends=3D"prepare"> > <cc name=3D"gcc" debug=3D"true" link=3D"executable" > objdir=3D"${outlib.home}" > outfile=3D"${outbin.home}/${app.name}"> > <fileset dir=3D"." includes=3D"*.c"/> > <includepath location=3D"../../include" /> > <libset dir=3D"../../build/lib" libs=3D"pwcore,pdlb,pcap"/> > <libset dir=3D"/usr/lib" libs=3D"pcap"/> > </cc> > </target> This looks good to me. What problems do you have exactly? Did you try running with -verbose, to see exactly what CppTasks = executes? Could it be the directory is wrong? (not ${basedir}/../../build/lib?) --DD PS: Wrong list to post to ;-) |