Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-35742

src/network/kernel: fix build on uClibc

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 5.3.0
    • 5.2.0
    • Network
    • None
    • linux/uClibc
    • 7c65b1f6463f65931a77d760662deab63fcecb78

    Description

      uClibc defines _GNU_LIBRARY_ like glibc, but doesn't provide
      gnu/lib-names.h, so the build breaks with:

      kernel/qdnslookup_unix.cpp:56:29: fatal error: gnu/lib-names.h:
      No such file or directory

      Fix it by explicitly checking for !uClibc.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jolind Jorgen Lind
            jacmet Peter Korsgaard
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes