summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2010-10-25 15:40:38 -0700
committerPixel <pixel@nobis-crew.org>2010-10-25 15:40:38 -0700
commit8ed0e40ddde1c8da6ddb6ca0ee8de174a7814280 (patch)
treef5b49dc7e7938655ee7cd1984f60a9d0d61a8022 /Makefile
parentcd0c7dd3505591a04c62e2914dd38cd638a4df69 (diff)
Making it so lua-interface can really load from anywhere. Almost.
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