Making the fontconfig and freetype paths portable in config.mk.
This commit is contained in:
		
							parent
							
								
									4e14a4a97f
								
							
						
					
					
						commit
						4682cc9596
					
				| 
						 | 
					@ -11,8 +11,12 @@ X11INC = /usr/X11R6/include
 | 
				
			||||||
X11LIB = /usr/X11R6/lib
 | 
					X11LIB = /usr/X11R6/lib
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# includes and libs
 | 
					# includes and libs
 | 
				
			||||||
INCS = -I. -I/usr/include -I${X11INC} -I/usr/include/freetype2
 | 
					INCS = -I. -I/usr/include -I${X11INC} \
 | 
				
			||||||
LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -lutil -lXext -lXft -lfontconfig
 | 
					       $(shell pkg-config --cflags fontconfig) \
 | 
				
			||||||
 | 
					       $(shell pkg-config --cflags freetype2)
 | 
				
			||||||
 | 
					LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -lutil -lXext -lXft \
 | 
				
			||||||
 | 
					       $(shell pkg-config --libs fontconfig)  \
 | 
				
			||||||
 | 
					       $(shell pkg-config --libs freetype2)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# flags
 | 
					# flags
 | 
				
			||||||
CPPFLAGS = -DVERSION=\"${VERSION}\"
 | 
					CPPFLAGS = -DVERSION=\"${VERSION}\"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue