--- a/ConfigTreeNode.py Mon May 07 14:19:08 2018 +0200
+++ b/ConfigTreeNode.py Mon May 07 15:10:39 2018 +0200
@@ -274,15 +274,14 @@
LocationCFilesAndCFLAGS = []
# confnode asks for some LDFLAGS
+ if CTNLDFLAGS is not None: # LDFLAGS can be either string
- if isinstance(CTNLDFLAGS, str):
+ if isinstance(CTNLDFLAGS, str) or isinstance(CTNLDFLAGS, unicode): + LDFLAGS += [CTNLDFLAGS] elif isinstance(CTNLDFLAGS, list):
- LDFLAGS = CTNLDFLAGS[:]
# recurse through all children, and stack their results
for CTNChild in self.IECSortedChildren():