mirror of
				https://gitlab.com/sortix/sortix.git
				synced 2023-02-13 20:55:38 -05:00 
			
		
		
		
	Add libdl and librt to libc.
This commit is contained in:
		
							parent
							
								
									fba2e26b05
								
							
						
					
					
						commit
						18d2695439
					
				
					 1 changed files with 7 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -525,7 +525,7 @@ ifeq ($(HOST),x86_64-sortix)
 | 
			
		|||
    SORTIXFLAGS:=$(SORTIXFLAGS) -mno-red-zone
 | 
			
		||||
endif
 | 
			
		||||
 | 
			
		||||
BINS=libc.a libg.a libpthread.a $(CRTOBJ)
 | 
			
		||||
BINS=libc.a libdl.a libg.a libpthread.a librt.a $(CRTOBJ)
 | 
			
		||||
BINSKERNEL=libc-sortix.a
 | 
			
		||||
INSTALLLIBS:=$(addprefix $(DESTDIR)$(LIBDIR)/,$(BINS))
 | 
			
		||||
INSTALLLIBSKERNEL:=$(addprefix $(DESTDIR)$(LIBDIR)/,$(BINSKERNEL))
 | 
			
		||||
| 
						 | 
				
			
			@ -547,12 +547,18 @@ libc.a: $(OBJS)
 | 
			
		|||
libc-sortix.a: $(SORTIXOBJS)
 | 
			
		||||
	$(HOSTAR) rcs $@ $(SORTIXOBJS)
 | 
			
		||||
 | 
			
		||||
libdl.a:
 | 
			
		||||
	$(HOSTAR) rcs $@
 | 
			
		||||
 | 
			
		||||
libg.a:
 | 
			
		||||
	$(HOSTAR) rcs $@
 | 
			
		||||
 | 
			
		||||
libpthread.a:
 | 
			
		||||
	$(HOSTAR) rcs $@
 | 
			
		||||
 | 
			
		||||
librt.a:
 | 
			
		||||
	$(HOSTAR) rcs $@
 | 
			
		||||
 | 
			
		||||
crt1.o: $(CPUDIR)/crt1.o
 | 
			
		||||
	ln -f $< $@
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue