summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6643321..0f4086d 100644
--- a/Makefile
+++ b/Makefile
@@ -223,7 +223,7 @@ lua-interface-gl.$(SHARED_EXT): $(ALL_OBJECTS)
ln -sf $@ lua-interface.$(SHARED_EXT)
lua-interface: lua-interface-mesa.$(SHARED_EXT) lua-interface-main.o
- $(LD) -o $@ ./lua-interface.$(SHARED_EXT) lua-interface-main.o
+ $(LD) -o $@ -L. lua-interface.$(SHARED_EXT) lua-interface-main.o
lua-interface-dbg: $(ALL_OBJECTS) $(DEBUG_OBJECTS)
$(LD) -o lua-interface-dbg $(ALL_OBJECTS) $(DEBUG_OBJECTS) $(LDFLAGS) $(LDFLAGS_MESA) -locci -lclntsh ../lua-modules-iup/luaiup.a -lXm -lXpm -lXmu -lXt -lXext -lX11 -lm