Fix makefuile
This commit is contained in:
		
							parent
							
								
									31ed7875bf
								
							
						
					
					
						commit
						0226bd850b
					
				
							
								
								
									
										4
									
								
								build.sh
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								build.sh
									
									
									
									
									
								
							@ -1,8 +1,8 @@
 | 
				
			|||||||
#!/usr/bin/env bash
 | 
					#!/usr/bin/env bash
 | 
				
			||||||
cd go
 | 
					cd go
 | 
				
			||||||
go build -buildmode c-shared -ldflags="-w -s" -trimpath -v -o "go_p2fa.so"
 | 
					go build -buildmode c-shared -ldflags="-w -s" -trimpath -v -o "go_p2fa.so"
 | 
				
			||||||
rm -rf ../c/libs/go_p2fa.h
 | 
					rm -rf ../c/libs/go_p2fa.*
 | 
				
			||||||
cp go_p2fa.h ../c/libs/go_p2fa.h
 | 
					cp go_p2fa.* ../c/libs/
 | 
				
			||||||
cd ../c
 | 
					cd ../c
 | 
				
			||||||
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:./libs
 | 
					LD_LIBRARY_PATH=$LD_LIBRARY_PATH:./libs
 | 
				
			||||||
make -j1
 | 
					make -j1
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user