Changeset 22854

Show
Ignore:
Timestamp:
06.09.2010 13:07:30 (9 years ago)
Author:
sjm84
Message:

Moved the ldflags from being given as an argument to being an environment variable for configuring common-src and build-src

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/build.xml

    r22847 r22854  
    14491449      <arg value="--bindir=${gs2build.home}/bin/${os.bin.dir}"/> <!-- what value to use?? --> 
    14501450      <arg line="${gs2.opt.args}"/> 
    1451       <arg line="${static.arg} ${ldflags.arg}"/> 
     1451      <arg line="${static.arg}"/> 
     1452      <env key="LDFLAGS" value="${ldflags.arg}"/> 
    14521453      <env key="CFLAGS" value="${cflags.arg}"/>         
    14531454      <env key="CPPFLAGS" value="${cppflags.arg}"/> 
     
    17711772      <arg value="--prefix=${gs2build.home}"/> 
    17721773      <arg line="${gs2.opt.args}"/> 
    1773       <arg line="${static.arg} ${ldflags.arg}"/> 
     1774      <arg line="${static.arg}"/> 
     1775      <env key="LDFLAGS" value="${ldflags.arg}"/> 
    17741776      <env key="CFLAGS" value="${cflags.arg}"/>         
    17751777      <env key="CPPFLAGS" value="${cppflags.arg}"/>