apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 57297] New: build dbd.m4 sed command is too broad
Date Tue, 02 Dec 2014 17:33:36 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=57297

            Bug ID: 57297
           Summary: build dbd.m4 sed command is too broad
           Product: APR
           Version: HEAD
          Hardware: PC
                OS: Mac OS X 10.4
            Status: NEW
          Severity: normal
          Priority: P2
         Component: APR-util
          Assignee: bugs@apr.apache.org
          Reporter: org.apache.issues@pooryorick.com

Building apr-util-1.5.4 resulted in the error,

    ld: unrecognized option '--dynamic'

The gcc command line included

    -Wl,--dynamic-linker

Which had been transformed into

    -Wl,--dynamic

The culprit was the following ind build/dbd.m4

    mysql_LDFLAGS="`MYSQL_CONFIG --libs_r | sed -e 's/-l[^ ]\+//g'`"

One fix possible fix (maybe not the best):

    mysql_LDFLAGS="`MYSQL_CONFIG --libs_r | sed -e 's/\s-l[^ ]\+//g'`"

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


Mime
View raw message