You've already forked pgbackrest
							
							
				mirror of
				https://github.com/pgbackrest/pgbackrest.git
				synced 2025-10-30 23:37:45 +02:00 
			
		
		
		
	Use pkg-config instead of xml2-config for libxml2 build options.
pkg-config is a generic way to get build options rather than relying on a package-specific utility. XML2_CONFIG can be used to override this utility for systems that do not ship pkg-config.
This commit is contained in:
		| @@ -454,7 +454,7 @@ sub run | ||||
|                 # Flags that are common to all builds | ||||
|                 my $strCommonFlags = | ||||
|                     '-I. -Itest -std=c99 -fPIC -g -Wno-clobbered -D_POSIX_C_SOURCE=200809L -D_FILE_OFFSET_BITS=64' . | ||||
|                         ' `xml2-config --cflags`' . ($self->{bProfile} ? " -pg" : '') . | ||||
|                         ' `pkg-config libxml-2.0 --cflags`' . ($self->{bProfile} ? " -pg" : '') . | ||||
|                         ' -I`pg_config --includedir`' . | ||||
|                     ($self->{oTest}->{&TEST_DEBUG_UNIT_SUPPRESS} ? '' : " -DDEBUG_UNIT") . | ||||
|                     (vmWithBackTrace($self->{oTest}->{&TEST_VM}) && $self->{bBackTrace} ? ' -DWITH_BACKTRACE' : '') . | ||||
|   | ||||
		Reference in New Issue
	
	Block a user