diff options
author | Tor Lillqvist <tlillqvist@novell.com> | 2011-06-08 11:45:08 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@novell.com> | 2011-06-08 11:46:06 +0300 |
commit | 354f25c64ae406980441d0f3ba84d8653be46ff5 (patch) | |
tree | f4d1183cf5df96b01b50e444dd648f7b9249a9c2 | |
parent | 60daef4bce599a3970dd018749c6f6ac7babc456 (diff) |
Compare CROSS_COMPILING explicitly to YES
-rwxr-xr-x | set_soenv.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/set_soenv.in b/set_soenv.in index 898494f7ceaf..b40a34d1d694 100755 --- a/set_soenv.in +++ b/set_soenv.in @@ -1726,7 +1726,7 @@ if ( '@JDK@' ne '' ) ToFile( "SCPDEFS", '@SCPDEFS@', "e" ); ToFile( "SOLAREXTRAINC", $SOLAREXTRAINC, "e" ); ToFile( "SOLAREXTRALIB", $SOLAREXTRALIB, "e" ); -if ( '@CROSS_COMPILING@' ne '' ) +if ( '@CROSS_COMPILING@' eq 'YES' ) { # Obviously we shouldn't set PATH to contain host binaries ToFile( "PATH", "@PATH_FOR_BUILD@", "e" ); @@ -1752,7 +1752,7 @@ ToFile( "STRIP", "@STRIP@", "e" ); ToFile( "WINDRES", "@WINDRES@", "e" ); ToFile( "BUILD_PLATFORM", "@build@", "e" ); ToFile( "HOST_PLATFORM", "@host@", "e" ); -if ( '@CROSS_COMPILING@' ne '' ) +if ( '@CROSS_COMPILING@' eq 'YES' ) { ToFile( "COM_FOR_BUILD", "@COM_FOR_BUILD@", "e" ); ToFile( "GUI_FOR_BUILD", "@GUI_FOR_BUILD@", "e" ); |