mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 01:44:06 -04:00
Fixed a bug in makepanda - now, when using a nonstandard output directory, you don't have to rebuild every time.
This commit is contained in:
parent
165a57a38a
commit
7e4e883eca
@ -50,8 +50,6 @@ CheckPandaSourceTree()
|
||||
|
||||
VERSION=ParsePandaVersion("dtool/PandaVersion.pp")
|
||||
|
||||
LoadDependencyCache()
|
||||
|
||||
def keyboardInterruptHandler(x,y):
|
||||
exit("keyboard interrupt")
|
||||
|
||||
@ -138,12 +136,25 @@ def parseopts(args):
|
||||
|
||||
parseopts(sys.argv[1:])
|
||||
|
||||
# Now check if CFLAGS happens to be set
|
||||
########################################################################
|
||||
##
|
||||
## Handle environment variables.
|
||||
##
|
||||
########################################################################
|
||||
|
||||
if (os.environ.has_key("CFLAGS")):
|
||||
CFLAGS=os.environ["CFLAGS"]
|
||||
if (os.environ.has_key("RPM_OPT_FLAGS")):
|
||||
CFLAGS+=os.environ["RPM_OPT_FLAGS"]
|
||||
|
||||
########################################################################
|
||||
##
|
||||
## Load the dependency cache.
|
||||
##
|
||||
########################################################################
|
||||
|
||||
LoadDependencyCache()
|
||||
|
||||
########################################################################
|
||||
##
|
||||
## Locate various SDKs.
|
||||
|
Loading…
x
Reference in New Issue
Block a user