summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c10ccb7..30f1f46 100644
--- a/Makefile
+++ b/Makefile
@@ -11,6 +11,7 @@ LD = g++
AS = as
AR = ar rcs
USR=/usr
+LIBXM = -lXm
ifeq ($(SYSTEM),Darwin)
ARCH_FLAGS=-arch i386
SHARED_FLAGS=-dynamiclib
@@ -32,7 +33,9 @@ LDFLAGS_MESA = -all_load ../Mesa-7.4.4-darwin9/lib/libGLU.a ../Mesa-7.4.4-darwin
LUAJIT = ../LuaJIT-darwin9/src/libluajit.a
USR=/usr/i686-apple-darwin9
FINK=$(USR)
+LIBXM = $(FINK)
endif
+LIBXM = $(FINK)/sw/lib/libXm.a
else
ARCH_FLAGS=-march=i686 -m32
SHARED_FLAGS=-shared
@@ -365,7 +368,7 @@ iuplua_im.c \
MAIN_IUP_SOURCE = \
plugin-luaiup.cc \
-IUP_LIBS = -lXm -lXpm -lXmu -lXt -lXext -lX11 -lm
+IUP_LIBS = $(LIBXM) -lXpm -lXmu -lXt -lXext -lX11 -lm
WHOLE_SOURCES = \
$(IM_SOURCES) \