diff options
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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) \ |