gnu: lsp-dsp-lib: Omit static library.
* gnu/packages/audio.scm (lsp-dsp-lib)[arguments]: Add an 'omit-static-library phase.
This commit is contained in:
		
							parent
							
								
									f50adf0b79
								
							
						
					
					
						commit
						673c58cdee
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		| 
						 | 
					@ -4848,6 +4848,11 @@ edited, converted, compressed and saved.")
 | 
				
			||||||
       (list (string-append "CC=" ,(cc-for-target)))
 | 
					       (list (string-append "CC=" ,(cc-for-target)))
 | 
				
			||||||
       #:phases
 | 
					       #:phases
 | 
				
			||||||
       (modify-phases %standard-phases
 | 
					       (modify-phases %standard-phases
 | 
				
			||||||
 | 
					         (add-after 'unpack 'omit-static-library
 | 
				
			||||||
 | 
					           (lambda _
 | 
				
			||||||
 | 
					             (substitute* "src/Makefile"
 | 
				
			||||||
 | 
					               ((".*@.*ARTIFACT_SLIB.*") "")       ; don't install it
 | 
				
			||||||
 | 
					               ((" \\$\\(ARTIFACT_SLIB\\)") "")))) ; don't build it
 | 
				
			||||||
         (replace 'configure
 | 
					         (replace 'configure
 | 
				
			||||||
           (lambda* (#:key outputs #:allow-other-keys)
 | 
					           (lambda* (#:key outputs #:allow-other-keys)
 | 
				
			||||||
             (invoke "make" "config"
 | 
					             (invoke "make" "config"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue