avoid compiler warnings by removing libraries from snmp compile time flags

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/ec/trunk@35683 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2012-10-14 10:11:47 +00:00
parent 044f9254bb
commit 8e657d0381
2 changed files with 3 additions and 3 deletions

View file

@ -590,9 +590,9 @@ EcMakeManagedObject(NSString *host, NSString *process, NSString *component);
problem: (NSString*)specificProblem;
/** Generates a new alarm event wuth minimal parameters.<br />
/** Generates a new alarm event with minimal parameters.<br />
* The componentName may be nil for a process-wide alarm.<br />
* The probablCause must NOT be unknown ... it is used to infer
* The probableCause must NOT be unknown ... it is used to infer
* the event type.<br />
* The specificProblem is used to identify the event for which the
* alarm is raised.<br />

View file

@ -48,7 +48,7 @@ LIBRARIES_DEPEND_UPON += $(ECCL_LIBS)
# Extras for when building with SNMP support
#
ifeq ($(WITH_NET_SNMP),yes)
ECCL_OBJCFLAGS += $(shell net-snmp-config --cflags)
EcAlarmSinkSNMP.m_FILE_FLAGS += $(shell net-snmp-config --cflags | sed -e 's/-l[^ ]*//g')
LIBRARIES_DEPEND_UPON += $(shell net-snmp-config --agent-libs)
endif