You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@apr.apache.org by bu...@apache.org on 2014/12/02 18:33:36 UTC

[Bug 57297] New: build dbd.m4 sed command is too broad

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