a63f9be8c5f0f72d0b8545ce9081b5bc4a3f30ca
[public/netxms.git] / src / agent / core / static_link.sh
1 #!/bin/sh
2 #
3 # Script for linking static Linux agent
4 #
5
6 g++ -g -O2 -fno-rtti -fno-exceptions -o nxagentd messages.o actions.o appagent.o comm.o config.o ctrl.o datacoll.o dcsnmp.o epp.o exec.o extagent.o getparam.o localdb.o master.o nxagentd.o policy.o push.o register.o sa.o sd.o session.o snmpproxy.o snmptrapproxy.o static_subagents.o subagent.o sysinfo.o tools.o trap.o upgrade.o watchdog.o -Wl,-Bstatic -Wl,-Bdynamic -L/usr/local/lib ../appagent/.libs/libappagent.a ../../../src/db/libnxdb/.libs/libnxdb.a ../../../src/libnetxms/.libs/libnetxms.a ../../../src/libexpat/libexpat/.libs/libnxexpat.a ../subagents/ecs/.libs/ecs.a ../subagents/filemgr/.libs/filemgr.a ../subagents/logwatch/.libs/logwatch.a ../../libnxlp/.libs/libnxlp.a ../subagents/ping/.libs/ping.a ../subagents/portCheck/.libs/portcheck.a ../subagents/ups/.libs/ups.a ../subagents/ds18x20/.libs/ds18x20.a ../subagents/linux/.libs/linux.a ../../snmp/libnxsnmp/.libs/libnxsnmp.a ../libnxagent/.libs/libnxagent.a ../../libnetxms/.libs/libnetxms.a ../../libexpat/libexpat/.libs/libnxexpat.a ../../libtre/.libs/libnxtre.a -ldl -lpthread -Wl,-Bstatic -lssl -lcrypto -lz -Wl,-Bdynamic