summaryrefslogtreecommitdiff
path: root/Libraries/LibPthread/Makefile
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-02-06 14:29:07 +0100
committerAndreas Kling <kling@serenityos.org>2020-02-06 14:29:07 +0100
commit418adf3e8643b228a164a2c59c8e0f4b97233c6f (patch)
treee9109bd1e38fa25a67e608097a13474e861f806e /Libraries/LibPthread/Makefile
parentfb4930754e03fa6c759f7695391fdc7b5689160a (diff)
downloadserenity-418adf3e8643b228a164a2c59c8e0f4b97233c6f.zip
LibPthread: Install immediately after building
Diffstat (limited to 'Libraries/LibPthread/Makefile')
-rw-r--r--Libraries/LibPthread/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Libraries/LibPthread/Makefile b/Libraries/LibPthread/Makefile
index e004c95272..9c4df9351d 100644
--- a/Libraries/LibPthread/Makefile
+++ b/Libraries/LibPthread/Makefile
@@ -2,6 +2,8 @@ OBJS = pthread.o
LIBRARY = libpthread.a
+POST_LIBRARY_BUILD = $(QUIET) $(MAKE) install
+
install:
mkdir -p $(SERENITY_BASE_DIR)/Root/usr/lib/
cp *.h $(SERENITY_BASE_DIR)/Root/usr/include/