]> rtime.felk.cvut.cz Git - CanFestival-3.git/commitdiff
Fixed problem with spaces in paths in generated canfetival_config.py
authoretisserant <etisserant>
Mon, 18 Feb 2008 09:35:14 +0000 (09:35 +0000)
committeretisserant <etisserant>
Mon, 18 Feb 2008 09:35:14 +0000 (09:35 +0000)
objdictgen/canfestival_config.py.in

index ec8bc1d6a50d41f97d630ba641751be9c1006b4f..42f83b965c5706dae590104be930475b0dc9a243 100644 (file)
@@ -33,7 +33,8 @@ TIMERS_DRIVER = "SUB_TIMERS_DRIVER"
 
 def getCFLAGS(Cpth):
        ipth = opj(Cpth, "include")
-       return PROG_CFLAGS + ' -I' + ipth  + ' -I' + opj(ipth, TARGET)  + ' -I' + opj(ipth, CAN_DRIVER)  + ' -I' + opj(ipth,TIMERS_DRIVER)
+       return PROG_CFLAGS + ' -I"' + ipth  + '" -I"' + opj(ipth, TARGET)  + '" -I"' + opj(ipth, CAN_DRIVER)  + '" -I"' + opj(ipth,TIMERS_DRIVER) + '"'
 
 def getLDFLAGS(Cpth):
-    return EXE_CFLAGS + ' ' + opj(Cpth,"src","libcanfestival.a") + ' ' + opj(Cpth,"drivers", TARGET, "libcanfestival_%s.a"%TARGET)
+    return EXE_CFLAGS + ' "' + opj(Cpth,"src","libcanfestival.a") + '" "' + opj(Cpth,"drivers", TARGET, "libcanfestival_%s.a"%TARGET)+ '"'
+