Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8235728

JDK-8212780 breaks builds with a custom X11 include path

XMLWordPrintable

    • b27

        src/jdk.incubator.jpackage/linux/native/libapplauncher/LinuxPlatform.h
        has
        #include <X11/Xlib.h>
        #include <X11/Xatom.h>
        but does not respect the configure flag `--x-includes`.

        I'm getting
        fatal error: 'X11/Xlib.h' file not found
        #include <X11/Xlib.h>
                 ^~~~~~~~~~~~
        1 error generated
        in my builds.

        Maybe $(X_CFLAGS) needs to be passed somewhere in the makefiles (make/lib/Lib-jdk.incubator.jpackage.gmk)?

              asemenyuk Alexey Semenyuk
              aeubanks Arthur Eubanks
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: