OS X: support building with NO_X11 option
This commit is contained in:
		
							parent
							
								
									7cf404904c
								
							
						
					
					
						commit
						1d1be59ec1
					
				@ -217,6 +217,9 @@ endif
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    # these are for everyone
 | 
					    # these are for everyone
 | 
				
			||||||
    COPT = -D_DARWIN_C_SOURCE -D__macosx__ -W -Wall -Wdeclaration-after-statement -O$(OPTIM) -std=c99 -g $(LUACOPT) $(SDLCOPT) $(TTFCOPT) -I/usr/include
 | 
					    COPT = -D_DARWIN_C_SOURCE -D__macosx__ -W -Wall -Wdeclaration-after-statement -O$(OPTIM) -std=c99 -g $(LUACOPT) $(SDLCOPT) $(TTFCOPT) -I/usr/include
 | 
				
			||||||
 | 
					ifeq ($(NO_X11),1)
 | 
				
			||||||
 | 
					    COPT += -DNO_X11
 | 
				
			||||||
 | 
					endif
 | 
				
			||||||
ifdef MACOSX_LION
 | 
					ifdef MACOSX_LION
 | 
				
			||||||
    LOPT = $(SDLLOPT) $(LUALOPT) -framework libpng14 -lz
 | 
					    LOPT = $(SDLLOPT) $(LUALOPT) -framework libpng14 -lz
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user