mirror of
				https://github.com/ClusterCockpit/cc-metric-collector.git
				synced 2025-11-04 10:45:06 +01:00 
			
		
		
		
	Create an empty libganglia.so stub if none exists
This commit is contained in:
		@@ -2,9 +2,10 @@
 | 
				
			|||||||
all: libganglia.so
 | 
					all: libganglia.so
 | 
				
			||||||
 | 
					
 | 
				
			||||||
libganglia.so:
 | 
					libganglia.so:
 | 
				
			||||||
	@find /usr -readable -name "libganglia.so*" -print0 | \
 | 
						@find /usr ! -readable -prune -o -type d ! -executable -prune -o -name "$@*" -print0 | \
 | 
				
			||||||
	    xargs --null --no-run-if-empty --replace \
 | 
						    xargs --null --no-run-if-empty --replace \
 | 
				
			||||||
	        ln --symbolic --verbose --force '{}' libganglia.so
 | 
						        ln --symbolic --verbose --force '{}' "$@"
 | 
				
			||||||
 | 
						@if [[ ! -e "$@" ]]; then touch "$@"; fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
clean:
 | 
					clean:
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user