Skip to content
Snippets Groups Projects
Commit e1973a69 authored by Kevin Layer's avatar Kevin Layer
Browse files

Fix include/lib path for Linux.

/usr/X11R6/ isn't used anymore, so update to use /usr/include and
/usr/lib.

Change-Id: I8bfb949b185354b06db299a920428dd35cff0572
parent a368525a
No related branches found
No related tags found
No related merge requests found
...@@ -8,8 +8,14 @@ XINCLUDES = -I/usr/include/openmotif ...@@ -8,8 +8,14 @@ XINCLUDES = -I/usr/include/openmotif
XLIBDIR = /usr/lib64/openmotif XLIBDIR = /usr/lib64/openmotif
endif endif
XINCLUDES ?= /usr/X11R6/include # This is the old location, but include it here, just in case
XLIBDIR ?= /usr/X11R6/lib64 ifeq ($(shell if test -d /usr/X11R6/include; then echo yes; fi),yes)
XINCLUDES = -I/usr/X11R6/include
XLIBDIR = /usr/X11R6/lib
endif
XINCLUDES ?= /usr/include
XLIBDIR ?= /usr/lib64
TKLIB=-lXm -lXpm -lXext -lXp TKLIB=-lXm -lXpm -lXext -lXp
XTLIB=-lXt XTLIB=-lXt
......
...@@ -8,8 +8,14 @@ XINCLUDES = -I/usr/include/openmotif ...@@ -8,8 +8,14 @@ XINCLUDES = -I/usr/include/openmotif
XLIBDIR = /usr/lib/openmotif XLIBDIR = /usr/lib/openmotif
endif endif
XINCLUDES ?= /usr/X11R6/include # This is the old location, but include it here, just in case
XLIBDIR ?= /usr/X11R6/lib ifeq ($(shell if test -d /usr/X11R6/include; then echo yes; fi),yes)
XINCLUDES = -I/usr/X11R6/include
XLIBDIR = /usr/X11R6/lib
endif
XINCLUDES ?= /usr/include
XLIBDIR ?= /usr/lib
TKLIB=-lXm -lXpm -lXext -lXp TKLIB=-lXm -lXpm -lXext -lXp
XTLIB=-lXt XTLIB=-lXt
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment