Skip to content

Commit

Permalink
Fix for PLA setup.pir by NotFound++
Browse files Browse the repository at this point in the history
  • Loading branch information
darbelo committed Jun 23, 2010
1 parent dac680b commit 1f0d9f8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion setup.pir
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ See F<runtime/library/distutils.pir>.

=cut

.include 'iglobals.pasm'

.sub 'main' :main
.param pmc args
$S0 = shift args
Expand Down Expand Up @@ -83,7 +85,9 @@ SOURCES

.sub 'system_linker_settings'
.param pmc config
$S0 = sysinfo 4
$P0 = getinterp
$P1 = $P0[.IGLOBALS_CONFIG_HASH]
$S0 = $P1['osname']
if $S0 == "linux" goto have_linux

# don't support other things yet.
Expand Down

0 comments on commit 1f0d9f8

Please sign in to comment.