--- makefile.orig	2011-10-22 23:23:36.000000000 +0400
+++ makefile	2011-10-22 23:36:14.000000000 +0400
@@ -171,8 +171,8 @@
 	EXE_SDLNEXUIZ=$(EXE_UNIXSDLNEXUIZ)
 
 	# libjpeg dependency (set these to "" if you want to use dynamic loading instead)
-	CFLAGS_LIBJPEG=-DLINK_TO_LIBJPEG
-	LIB_JPEG=-ljpeg
+	CFLAGS_LIBJPEG=""
+	LIB_JPEG=""
 endif
 
 # Win32 configuration
