summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 73fee18..f913f4c 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 $@ -L. lua-interface.$(SHARED_EXT) lua-interface-main.o
+ $(LD) -o $@ -ldl 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 -lnnz11 ../lua-modules-iup/luaiup.a -lXm -lXpm -lXmu -lXt -lXext -lX11 -lm