mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	Add proper -I directives for out-of-tree builds.
When building out of tree, the generated files are put in builddir rather than srcdir, so handle that properly.
This commit is contained in:
		
							parent
							
								
									348c2cab71
								
							
						
					
					
						commit
						7104d54bbc
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		| 
						 | 
					@ -47,10 +47,15 @@ endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
AM_CFLAGS = \
 | 
					AM_CFLAGS = \
 | 
				
			||||||
	-I$(top_srcdir)/src \
 | 
						-I$(top_srcdir)/src \
 | 
				
			||||||
 | 
						-I$(top_builddir)/src \
 | 
				
			||||||
	-I$(top_srcdir)/src/modules \
 | 
						-I$(top_srcdir)/src/modules \
 | 
				
			||||||
 | 
						-I$(top_builddir)/src/modules \
 | 
				
			||||||
	-I$(top_srcdir)/src/modules/rtp \
 | 
						-I$(top_srcdir)/src/modules/rtp \
 | 
				
			||||||
 | 
						-I$(top_builddir)/src/modules/rtp \
 | 
				
			||||||
	-I$(top_srcdir)/src/modules/gconf \
 | 
						-I$(top_srcdir)/src/modules/gconf \
 | 
				
			||||||
 | 
						-I$(top_builddir)/src/modules/gconf \
 | 
				
			||||||
	-I$(top_srcdir)/src/modules/bluetooth \
 | 
						-I$(top_srcdir)/src/modules/bluetooth \
 | 
				
			||||||
 | 
						-I$(top_builddir)/src/modules/bluetooth \
 | 
				
			||||||
	-I$(top_srcdir)/src/modules/raop \
 | 
						-I$(top_srcdir)/src/modules/raop \
 | 
				
			||||||
	$(PTHREAD_CFLAGS) -D_POSIX_PTHREAD_SEMANTICS \
 | 
						$(PTHREAD_CFLAGS) -D_POSIX_PTHREAD_SEMANTICS \
 | 
				
			||||||
	$(LTDLINCL) \
 | 
						$(LTDLINCL) \
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue