|
@@ -13,11 +13,14 @@ endif
|
|
ifneq ($(XML2CFG),)
|
|
ifneq ($(XML2CFG),)
|
|
DEFS += $(shell $(XML2CFG) --cflags )
|
|
DEFS += $(shell $(XML2CFG) --cflags )
|
|
LIBS += $(shell $(XML2CFG) --libs)
|
|
LIBS += $(shell $(XML2CFG) --libs)
|
|
- LIBS += -lrt
|
|
|
|
else
|
|
else
|
|
INCLUDES +=-I$(LOCALBASE)/include/libxml2 \
|
|
INCLUDES +=-I$(LOCALBASE)/include/libxml2 \
|
|
-I$(LOCALBASE)/include
|
|
-I$(LOCALBASE)/include
|
|
- LIBS += -L$(LOCALBASE)/lib -lxml2 -lrt
|
|
|
|
|
|
+ LIBS += -L$(LOCALBASE)/lib -lxml2
|
|
|
|
+endif
|
|
|
|
+
|
|
|
|
+ifneq ($(OS),darwin)
|
|
|
|
+ LIBS += -lrt
|
|
endif
|
|
endif
|
|
|
|
|
|
include ../../Makefile.modules
|
|
include ../../Makefile.modules
|