summaryrefslogtreecommitdiff
path: root/Libraries/LibM
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-02-06 14:28:35 +0100
committerAndreas Kling <kling@serenityos.org>2020-02-06 14:28:35 +0100
commitfb4930754e03fa6c759f7695391fdc7b5689160a (patch)
tree4fdf2e2a61433bab63028c9b58c4772fc71dbc7b /Libraries/LibM
parentdc1885969564d0eadbe56efc4dc56fc657d92b8e (diff)
downloadserenity-fb4930754e03fa6c759f7695391fdc7b5689160a.zip
LibM: Install immediately after building
Diffstat (limited to 'Libraries/LibM')
-rw-r--r--Libraries/LibM/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Libraries/LibM/Makefile b/Libraries/LibM/Makefile
index b6c619b47d..c5d2716cfd 100644
--- a/Libraries/LibM/Makefile
+++ b/Libraries/LibM/Makefile
@@ -2,6 +2,8 @@ OBJS = math.o
LIBRARY = libm.a
+POST_LIBRARY_BUILD = $(QUIET) $(MAKE) install
+
install:
mkdir -p $(SERENITY_BASE_DIR)/Root/usr/include/sys/
mkdir -p $(SERENITY_BASE_DIR)/Root/usr/lib/