2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-22 01:46:15 +01:00

Use a constant instead of a hard-coded number (Qt5)

This commit is contained in:
Thomas Nagy 2019-06-02 09:23:57 +02:00
parent 36a0c12b3b
commit fa6496dbc4
No known key found for this signature in database
GPG Key ID: 49B4C67C05277AAA

View File

@ -74,7 +74,7 @@ else:
import os, sys, re import os, sys, re
from waflib.Tools import cxx from waflib.Tools import cxx
from waflib import Task, Utils, Options, Errors, Context from waflib import Build, Task, Utils, Options, Errors, Context
from waflib.TaskGen import feature, after_method, extension, before_method from waflib.TaskGen import feature, after_method, extension, before_method
from waflib.Configure import conf from waflib.Configure import conf
from waflib import Logs from waflib import Logs
@ -168,7 +168,7 @@ class qxx(Task.classes['cxx']):
bld = self.generator.bld bld = self.generator.bld
# skip on uninstall due to generated files # skip on uninstall due to generated files
if bld.is_install < 0: if bld.is_install == Build.UNINSTALL:
return return
try: try: