Fixed static link script
authorVictor Kirhenshtein <victor@netxms.org>
Wed, 11 Oct 2017 03:52:08 +0000 (06:52 +0300)
committerVictor Kirhenshtein <victor@netxms.org>
Thu, 12 Oct 2017 09:11:05 +0000 (12:11 +0300)
src/agent/core/static_link.sh

index fc17eeb..7113c9c 100755 (executable)
@@ -3,4 +3,4 @@
 # Script for linking static Linux agent
 #
 
-g++ -g -O2 -fno-rtti -fno-exceptions -o nxagentd messages.o actions.o appagent.o comm.o config.o ctrl.o datacoll.o dbupgrade.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 syslog.o tools.o trap.o tunnel.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 ../../jansson/.libs/libnxjansson.a -ldl -lpthread -L/opt/openssl/lib -Wl,-Bstatic -lssl -lcrypto -lz -Wl,-Bdynamic
+g++ -g -O2 -fno-rtti -fno-exceptions -o nxagentd messages.o actions.o appagent.o comm.o config.o ctrl.o datacoll.o dbupgrade.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 session.o snmpproxy.o snmptrapproxy.o static_subagents.o subagent.o sysinfo.o syslog.o tools.o trap.o tunnel.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 ../../jansson/.libs/libnxjansson.a ../../zlib/.libs/libnxzlib.a -ldl -lpthread -L/opt/openssl/lib -Wl,-Bstatic -lssl -lcrypto -lz -Wl,-Bdynamic