summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Woodward2019-06-15 21:58:28 -0400
committerJason Woodward2019-06-15 21:58:28 -0400
commit96f729d41431975676e008530da640719e658318 (patch)
tree35db0a2d51ed9ed97831848b17fd975cf0a74822
parent1611a4dea1eda335c9ae25426e9f6b25e5299be8 (diff)
downloadslapt-get-96f729d41431975676e008530da640719e658318.tar.gz
skip installing static library
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 47d0a73..6275a75 100644
--- a/Makefile
+++ b/Makefile
@@ -56,8 +56,7 @@ libsinstall: libs
cp -f src/slapt.h $(DESTDIR)/usr/include/
if [ ! -d $(DESTDIR)$(LIBDIR) ]; then mkdir -p $(DESTDIR)$(LIBDIR);fi
if [ -L $(DESTDIR)$(LIBDIR)/libslapt.so ]; then rm $(DESTDIR)$(LIBDIR)/libslapt.so;fi
- if [ -L $(DESTDIR)$(LIBDIR)/libslapt.a ]; then rm $(DESTDIR)$(LIBDIR)/libslapt.a;fi
- cp -f src/libslapt.a src/libslapt.so.$(VERSION) $(DESTDIR)$(LIBDIR)/
+ cp -f src/libslapt.so.$(VERSION) $(DESTDIR)$(LIBDIR)/
cd $(DESTDIR)$(LIBDIR); ln -sf libslapt.so.$(VERSION) libslapt.so
doinstall: libsinstall
@@ -153,7 +152,7 @@ dopkg: $(PACKAGE)
mkdir -p pkg$(LIBDIR)
mkdir -p pkg/usr/include
cp -f src/slapt.h pkg/usr/include/
- cp -f src/libslapt.a src/libslapt.so.$(VERSION) pkg$(LIBDIR)/
+ cp -f src/libslapt.so.$(VERSION) pkg$(LIBDIR)/
$(STRIP) pkg$(LIBDIR)/libslapt.so.$(VERSION)
( cd pkg$(LIBDIR); ln -sf libslapt.so.$(VERSION) libslapt.so )
-( cd pkg; /sbin/makepkg -l y -c n ../$(PACKAGE)-$(VERSION)-$(ARCH)-$(RELEASE).txz )