ConfigTreeNode.py
changeset 2414 7fad75e5e63d
parent 2182 eeca1aff0691
child 2418 5587c490a070
equal deleted inserted replaced
2413:803daf19a1b5 2414:7fad75e5e63d
   275 
   275 
   276         # confnode asks for some LDFLAGS
   276         # confnode asks for some LDFLAGS
   277         LDFLAGS = []
   277         LDFLAGS = []
   278         if CTNLDFLAGS is not None:
   278         if CTNLDFLAGS is not None:
   279             # LDFLAGS can be either string
   279             # LDFLAGS can be either string
   280             if isinstance(CTNLDFLAGS, str) or isinstance(CTNLDFLAGS, unicode):
   280             if isinstance(CTNLDFLAGS, (str, unicode)):
   281                 LDFLAGS += [CTNLDFLAGS]
   281                 LDFLAGS += [CTNLDFLAGS]
   282             # or list of strings
   282             # or list of strings
   283             elif isinstance(CTNLDFLAGS, list):
   283             elif isinstance(CTNLDFLAGS, list):
   284                 LDFLAGS += CTNLDFLAGS
   284                 LDFLAGS += CTNLDFLAGS
   285 
   285