This repository has been archived on 2021-05-23. You can view files and clone it, but cannot push or open issues or pull requests.
libstrangle-deb/debian/patches/01_fix_makefile

22 lines
562 B
Plaintext

Fixes makefile by removing ldconfig and correcting installation prefix to /usr
--- a/src/makefile
+++ b/src/makefile
@@ -4,7 +4,7 @@
LDFLAGS=-Wl,-z,relro,-z,now
LDLIBS=-ldl -lrt
-prefix=/usr/local
+prefix=/usr
exec_prefix=$(prefix)
bindir=$(exec_prefix)/bin
libdir=$(exec_prefix)/lib
@@ -88,7 +88,7 @@
install-ld: ld
install -m 0644 -D -T $(BUILDDIR)/libstrangle.conf $(DESTDIR)/etc/ld.so.conf.d/libstrangle.conf
- ldconfig
+# ldconfig
install-32: 32-bit
install -m 0755 -D -T $(BUILDDIR)/libstrangle32.so $(DESTDIR)$(LIB32_PATH)/libstrangle.so