Fix some LINKAGE=static compile issues:
- Makefile circularity by fixing .so suffix - simplify example/main Makefile
This commit is contained in:
parent
c00162aec1
commit
5a875e3152
11 changed files with 34 additions and 30 deletions
|
|
@ -164,10 +164,12 @@ test.c :
|
|||
test: test.c $(LIBOBJ) $(MYLIB)
|
||||
$(CC) $(INCLUDES) $(LDFLAGS) $< $(LIBOBJ) -L. $(MYLIB) $(LIBS) -o $@
|
||||
|
||||
$(APPL) : $(APPOBJ) $(MYLIB) $(LIBDEPS)
|
||||
# Note LIBDEPS is in lib/src and will always be remade du to a date dependency
|
||||
ifeq ($(LINKAGE),dynamic)
|
||||
$(APPL) : $(APPOBJ) $(MYLIB) $(LIBDEPS)
|
||||
$(CC) $(LDFLAGS) $(APPOBJ) -L. $(MYLIB) $(LIBS) -o $@
|
||||
else
|
||||
$(APPL) : $(APPOBJ) $(LIBOBJ) $(LIBDEPS)
|
||||
$(CC) $(LDFLAGS) $(APPOBJ) -L. $(LIBOBJ) $(LIBS) -o $@
|
||||
endif
|
||||
|
||||
|
|
|
|||
|
|
@ -533,7 +533,9 @@ get_list_pagination(clicon_handle h,
|
|||
/* sort */
|
||||
if (ret && (x = xml_find_type(xe, NULL, "sort", CX_ELMNT)) != NULL)
|
||||
sort = xml_body(x);
|
||||
if (sort) ; /* XXX */
|
||||
if (sort) {
|
||||
/* XXX: nothing yet */
|
||||
}
|
||||
/* where */
|
||||
if (ret && (x = xml_find_type(xe, NULL, "where", CX_ELMNT)) != NULL)
|
||||
where = xml_body(x);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue