diff options
author | root <root@rshg054.dnsready.net> | 2012-12-29 02:13:48 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-12-29 02:13:48 -0800 |
commit | 5dd7ed82e788ebad2e920e0f2db7468cc6547cfe (patch) | |
tree | f467412e09912ababcd8fe6c05193d829f514dcd /community/sauerbraten/fix-indirect-linking.diff | |
parent | 3009e8addb4a894329bf8ab3e8fb763361833978 (diff) |
Sat Dec 29 02:10:20 PST 2012
Diffstat (limited to 'community/sauerbraten/fix-indirect-linking.diff')
-rw-r--r-- | community/sauerbraten/fix-indirect-linking.diff | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/community/sauerbraten/fix-indirect-linking.diff b/community/sauerbraten/fix-indirect-linking.diff new file mode 100644 index 000000000..56ed8825b --- /dev/null +++ b/community/sauerbraten/fix-indirect-linking.diff @@ -0,0 +1,20 @@ +Index: sauerbraten/Makefile +=================================================================== +--- sauerbraten.orig/Makefile 2010-07-29 21:24:21.000000000 -0400 ++++ sauerbraten/Makefile 2010-07-29 21:26:15.717746486 -0400 +@@ -21,11 +21,14 @@ + CLIENT_LIBS= -mwindows -Llib -lSDL -lSDL_image -lSDL_mixer -lzdll -lopengl32 -lenet -lws2_32 -lwinmm + else + CLIENT_INCLUDES= $(INCLUDES) -I/usr/X11R6/include `sdl-config --cflags` +-CLIENT_LIBS= -Lenet/.libs -lenet -L/usr/X11R6/lib `sdl-config --libs` -lSDL_image -lSDL_mixer -lz -lGL ++CLIENT_LIBS= -Lenet/.libs -lenet -L/usr/X11R6/lib `sdl-config --libs` -lSDL_image -lSDL_mixer -lz -lGL -lX11 + endif + ifeq ($(PLATFORM),Linux) + CLIENT_LIBS+= -lrt + endif ++ifeq ($(PLATFORM),GNU/kFreeBSD) ++CLIENT_LIBS+= -lrt ++endif + CLIENT_OBJS= \ + shared/crypto.o \ + shared/geom.o \ |