LDFLAGS overridden by configure
-------------------------------

                 Key: AXIS2C-369
                 URL: http://issues.apache.org/jira/browse/AXIS2C-369
             Project: Axis2-C
          Issue Type: Bug
          Components: build system (Unix/Linux)
    Affects Versions: 0.94
            Reporter: Chris Darroch


The configure.ac files contain the following line:

LDFLAGS="-lpthread"

This has the effect of overriding any input LDFLAGS that the user specifies.  
The
configure script's --help option says you can set CFLAGS, LDFLAGS, etc. prior to
running ./configure:

./configure --help
...
Some influential environment variables:
  CC          C compiler command
  CFLAGS      C compiler flags
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
              nonstandard directory <lib dir>
...

The line should probably be LDFLAGS="$LDFLAGS -lpthread" in all of the 
configure.ac files (configure, woden/configure, etc.)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to