5
text_file = open("install/lib/pkgconfig/opencv.pc", "r")
6
lines = text_file.readlines()
10
flags = (l.strip().replace("${exec_prefix}","$(PAPARAZZI_HOME)/sw/ext/opencv_bebop/install").split(" -"))
11
iterflags = iter(flags)
14
print("\t<flag name=\"LDFLAGS\" value=\"" + f + "\" />" )