always use the same order of objects to create the library
This commit is contained in:
		
							parent
							
								
									8a6a892c42
								
							
						
					
					
						commit
						5ade6248ff
					
				| @ -47,8 +47,10 @@ objs: $(OBJECTS) | ||||
| .c.o: | ||||
| 	$(LTCOMPILE) $(CFLAGS) $(LDFLAGS) -o $@ -c $< | ||||
| 
 | ||||
| LOBJECTS = $(OBJECTS:.o=.lo) | ||||
| 
 | ||||
| $(LIBNAME):  $(OBJECTS) | ||||
| 	$(LT) --mode=link --tag=CC $(CC) $(LDFLAGS) *.lo -o $(LIBNAME) -rpath $(LIBPATH) -version-info $(VERSION_SO) | ||||
| 	$(LT) --mode=link --tag=CC $(CC) $(LDFLAGS) $(LOBJECTS) -o $(LIBNAME) -rpath $(LIBPATH) -version-info $(VERSION_SO) | ||||
| 
 | ||||
| install: $(LIBNAME) | ||||
| 	install -d $(LIBPATH) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user