]> git.jsancho.org Git - lugaru.git/blobdiff - makefile
Cleaned up some things that don't compile on Mac OS X.
[lugaru.git] / makefile
index 9f3ef967bf056e4d7a7db4dbbdd15e1237f90d24..2719849431c66d7203f874efed313a544ac6f517 100644 (file)
--- a/makefile
+++ b/makefile
@@ -72,7 +72,7 @@ ifeq ($(strip $(macosx)),true)
   APPLDFLAGS := $(SDLDIR)/lib/libSDL-1.2.0.dylib $(SDLDIR)/lib/libSDLmain-osx.a
 else
   CFLAGS += -DPLATFORM_LINUX=1
-  LDFLAGS := ./libSDL-1.2.so.0
+  LDFLAGS := ./libSDL-1.2.so.0 -Wl,-rpath,\$$ORIGIN
 
   ifeq ($(strip $(use_devil)),true)
     LDFLAGS += ./libIL.so.1 ./libILU.so.1 ./libILUT.so.1
@@ -81,7 +81,7 @@ else
   ifeq ($(strip $(use_fmod)),true)
     POSTLDFLAGS += -lpthread ./libfmod-linux-x86.a
   else
-    LDFLAGS += ./openal.so
+    LDFLAGS += ./libopenal.so.1
   endif
 endif