Link fltk statically

This commit is contained in:
rdb 2011-03-15 18:34:30 +00:00
parent 163a73e5bb
commit b2da92fefb

View File

@ -983,7 +983,7 @@ def PkgConfigGetLibs(pkgname, tool = "pkg-config"):
if (tool == "pkg-config"):
handle = os.popen(LocateBinary("pkg-config") + " --silence-errors --libs-only-l " + pkgname)
elif (tool == "fltk-config"):
handle = os.popen(LocateBinary("fltk-config") + " --ldflags")
handle = os.popen(LocateBinary("fltk-config") + " --ldstaticflags")
else:
handle = os.popen(LocateBinary(tool) + " --libs")
result = handle.read().strip()