mirror of
				https://github.com/GrapheneOS/hardened_malloc.git
				synced 2025-11-04 09:46:32 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
	
		
			375 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
	
		
			375 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
#!/bin/bash
 | 
						|
 | 
						|
## Copyright (C) 2016 - 2016 Patrick Schleizer <adrelanos@riseup.net>
 | 
						|
## See the file COPYING for copying conditions.
 | 
						|
 | 
						|
make_install_hook_post() {
 | 
						|
   if [ ! -d "$DESTDIR/usr/lib" ]; then
 | 
						|
      mkdir --parents "$DESTDIR/usr/lib"
 | 
						|
   fi
 | 
						|
   cp libhardened_malloc.so "$DESTDIR/usr/lib/libhardened_malloc.so.1"
 | 
						|
}
 | 
						|
 | 
						|
make_all_hook_post() {
 | 
						|
   make libhardened_malloc.so
 | 
						|
}
 |