mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-14 15:50:07 +02:00
31 lines
954 B
Plaintext
31 lines
954 B
Plaintext
From 46a5c1cce2765a7731ed30865f4cd8bb98c01c89 Mon Sep 17 00:00:00 2001
|
|
From: Chris Roberts <cpr420@gmail.com>
|
|
Date: Sat, 14 Oct 2023 21:58:18 -0600
|
|
Subject: don't install static library
|
|
|
|
|
|
diff --git a/Makefile b/Makefile
|
|
index eb4075f..f6bf6fa 100644
|
|
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -41,7 +41,7 @@ ifneq (,$(filter $(shell uname),FreeBSD NetBSD DragonFly))
|
|
PCLIBDIR := $(PREFIX)/libdata/pkgconfig
|
|
endif
|
|
|
|
-all: libtree-sitter.a libtree-sitter.$(SOEXTVER)
|
|
+all: libtree-sitter.$(SOEXTVER)
|
|
|
|
libtree-sitter.a: $(OBJ)
|
|
$(AR) rcs $@ $^
|
|
@@ -61,7 +61,6 @@ install: all
|
|
tree-sitter.pc.in > tree-sitter.pc
|
|
|
|
install -d '$(DESTDIR)$(LIBDIR)'
|
|
- install -m644 libtree-sitter.a '$(DESTDIR)$(LIBDIR)'/
|
|
install -m755 libtree-sitter.$(SOEXTVER) '$(DESTDIR)$(LIBDIR)'/
|
|
ln -sf libtree-sitter.$(SOEXTVER) '$(DESTDIR)$(LIBDIR)'/libtree-sitter.$(SOEXTVER_MAJOR)
|
|
ln -sf libtree-sitter.$(SOEXTVER) '$(DESTDIR)$(LIBDIR)'/libtree-sitter.$(SOEXT)
|
|
--
|
|
2.42.0
|
|
|