Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Changeset 3225

Show
Ignore:
Timestamp:
02/18/08 17:26:37 (10 months ago)
Author:
Jim Panic
Message:

Finally seem to have fixed the installer. Thanks to Deewiant again!

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/install/dmd-posix/mkinstaller.sh

    r3056 r3225  
    6868mkdir -p lib 
    6969cp ../lib/libtango-user-dmd.a lib || die 1 "Failed to copy in the tango .a file" 
     70cp ../lib/dmdinclude lib || die 1 "Failed to copy in the dmdinclude file" 
    7071 
    7172find include/d -name .svn | xargs rm -rf 
  • trunk/lib/install-dmd.sh

    r3222 r3225  
    142142. dmdinclude 
    143143 
    144 if [ ! "$DMDVERSIONMAJ" -gt 1 ] 
    145 then 
    146     if [ ! "$DMDVERSIONMIN" -gt 21 ] 
    147     then 
    148         echo 'Your version of DMD have no support for -defaultlib flag, using libphobos.a' 
    149         ASPHOBOS="1" 
    150     fi 
     144if [ "$DMDVERSIONMAJ" != "" ] 
     145then 
     146    if [ ! "$DMDVERSIONMAJ" -gt 1 ] 
     147    then 
     148        if [ ! "$DMDVERSIONMIN" -gt 21 ] 
     149        then 
     150            echo 'Your version of DMD have no support for -defaultlib flag, using libphobos.a' 
     151            ASPHOBOS="1" 
     152        fi 
     153    fi 
    151154fi 
    152155 
     
    283286# Create dmd.conf 
    284287create_dmd_conf() { 
    285     if [ "$ASPHOBOS" = "0" ] 
     288    if [ "$ASPHOBOS" = "1" ] 
    286289    then 
    287290        cat > $CONFPREFIX/$CONF/dmd.conf <<EOF