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

fp.bugs 3453 portablility: tawt GNUmakefile uses -lX instead of -lX11

XMLWordPrintable

    • 1.1.1
    • sparc
    • solaris_2.5


      From ###@###.### Mon Feb 5 08:35:25 1996
      Date: Mon, 5 Feb 1996 17:34:02 +0100 (MET)
      From: Simon Leinen <###@###.###>
      To: java@java
      Subject: JDK 1.0 source: tawt GNUmakefile uses -lX instead of -lX11

      The Makefile for sun/tawt uses `-lX' in the list of used libraries.
      /usr/openwin/lib/libX.so is a symbolic link to libX11.so, and I think
      it is only there to ensure compatibility with very old versions of X.
      I suggest that `-lX11' be used instead, since `-lX' cannot be resolved
      on some other Unices that have X11 (such as IRIX).

      diff -ur build/solaris/sun/tawt/GNUmakefile build/irix/sun/tawt/GNUmakefile
      --- build/solaris/sun/tawt/GNUmakefile Thu Jan 18 19:41:27 1996
      +++ build/irix/sun/tawt/GNUmakefile Sun Feb 4 12:45:54 1996
      @@ -105,6 +105,6 @@
       CPPFLAGS += -I/usr/openwin/include \\
                  -I$(JAVAHOME)/$(PLATFORM)/java/java/CClassHeaders
       
      -LDFLAGS += -L$(LIBDIR)/$(ARCH) -lX
      +LDFLAGS += -L$(LIBDIR)/$(ARCH) -lX11
       
       CLASSES.export += java.lang.String java.io.InputStream
      --
      Simon.

            apalanissunw Anand Palaniswamy (Inactive)
            bhagen Benjamin Hagen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: