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
|
SORTIXFLAGS:=$(SORTIXFLAGS) -mno-red-zone
|
||||||
endif
|
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
|
BINSKERNEL=libc-sortix.a
|
||||||
INSTALLLIBS:=$(addprefix $(DESTDIR)$(LIBDIR)/,$(BINS))
|
INSTALLLIBS:=$(addprefix $(DESTDIR)$(LIBDIR)/,$(BINS))
|
||||||
INSTALLLIBSKERNEL:=$(addprefix $(DESTDIR)$(LIBDIR)/,$(BINSKERNEL))
|
INSTALLLIBSKERNEL:=$(addprefix $(DESTDIR)$(LIBDIR)/,$(BINSKERNEL))
|
||||||
|
|
@ -547,12 +547,18 @@ libc.a: $(OBJS)
|
||||||
libc-sortix.a: $(SORTIXOBJS)
|
libc-sortix.a: $(SORTIXOBJS)
|
||||||
$(HOSTAR) rcs $@ $(SORTIXOBJS)
|
$(HOSTAR) rcs $@ $(SORTIXOBJS)
|
||||||
|
|
||||||
|
libdl.a:
|
||||||
|
$(HOSTAR) rcs $@
|
||||||
|
|
||||||
libg.a:
|
libg.a:
|
||||||
$(HOSTAR) rcs $@
|
$(HOSTAR) rcs $@
|
||||||
|
|
||||||
libpthread.a:
|
libpthread.a:
|
||||||
$(HOSTAR) rcs $@
|
$(HOSTAR) rcs $@
|
||||||
|
|
||||||
|
librt.a:
|
||||||
|
$(HOSTAR) rcs $@
|
||||||
|
|
||||||
crt1.o: $(CPUDIR)/crt1.o
|
crt1.o: $(CPUDIR)/crt1.o
|
||||||
ln -f $< $@
|
ln -f $< $@
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue