Fixed compile error that suddenly appeared with no apparent reason

This commit is contained in:
rdb 2009-07-24 09:24:56 +00:00
parent 9f3b801c22
commit b0e5827d43

View File

@ -801,7 +801,7 @@ def CompileLink(dll, obj, opts):
else: mtcmd = mtcmd + ';1'
oscmd(mtcmd)
if (COMPILER=="LINUX"):
if (GetOrigExt(dll)==".exe"): cmd = 'g++ -o ' + dll + ' -L' + GetOutputDir() + '/lib -L/usr/X11R6/lib'
if (GetOrigExt(dll)==".exe"): cmd = 'g++ -o ' + dll + ' -L' + GetOutputDir() + '/lib -L' + GetOutputDir() + '/tmp -L/usr/X11R6/lib'
else:
if (sys.platform == "darwin"):
cmd = 'g++ -undefined dynamic_lookup'