diff options
-rw-r--r-- | source/nan_link.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/nan_link.mk b/source/nan_link.mk index 235827c9a7b..00d233962a9 100644 --- a/source/nan_link.mk +++ b/source/nan_link.mk @@ -117,10 +117,10 @@ ifeq ($(OS),openbsd) endif ifeq ($(OS),solaris) - ifeq (i386, $(findstring i386, $(CPU))) - LLIBS = -L/usr/X11/lib -lrt + ifeq (x86_64, $(findstring x86_64, $(CPU))) + LLIBS = -lrt endif - LLIBS += -lGLU -lGL -lXmu -lXext -lXi -lX11 -lc -lm -ldl -lsocket -lnsl + LLIBS += -L$(NAN_MESA)/lib -lGLU -lGL -lXmu -lXext -lXi -lX11 -lc -lm -ldl -lsocket -lnsl DYNLDFLAGS = -shared $(LDFLAGS) endif |