mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-19 01:45:32 +00:00
Cleanup makefile library dependencies of mod_snmp
Calling out to net-snmp-config --agent-libs causes transitive dependencies to get pulled in, but we don't need those -- a sensible dynamic linker pulls those in automatically. Trying to track the transitive dependencies manually would be a losing battle. People were recently hitting this on Debian sid/jessie, where libpci is in the transitive dependency list but isn't otherwise one of our build dependencies.
This commit is contained in:
parent
30f83be725
commit
04a55bbdf9
@ -1,7 +1,7 @@
|
||||
include ../../../../build/modmake.rules
|
||||
|
||||
LOCAL_CFLAGS=`net-snmp-config --cflags`
|
||||
LOCAL_LDFLAGS=`net-snmp-config --agent-libs`
|
||||
LOCAL_LDFLAGS=-lnetsnmpmibs -lnetsnmpagent -lnetsnmp
|
||||
LOCAL_OBJS=subagent.o
|
||||
|
||||
local_depend: $(LOCAL_OBJS)
|
||||
|
Loading…
x
Reference in New Issue
Block a user