Respect --enable-static=no in libsubid
libsubid's Makefile.am was always setting enable-shared in its LDFLAGS. Do that only if not building static. Closes #387 Signed-off-by: Serge Hallyn <shallyn@cisco.com>
This commit is contained in:
		
				
					committed by
					
						 Serge Hallyn
						Serge Hallyn
					
				
			
			
				
	
			
			
			
						parent
						
							4616fe71e7
						
					
				
				
					commit
					fa986b1d73
				
			| @@ -1,6 +1,8 @@ | ||||
| lib_LTLIBRARIES = libsubid.la | ||||
| if ENABLE_SHARED | ||||
| libsubid_la_LDFLAGS = -Wl,-soname,libsubid.so.@LIBSUBID_ABI@ \ | ||||
| 	-shared -version-info @LIBSUBID_ABI_MAJOR@ | ||||
| endif | ||||
| libsubid_la_SOURCES = api.c | ||||
|  | ||||
| pkginclude_HEADERS = subid.h | ||||
|   | ||||
		Reference in New Issue
	
	Block a user