librewolf: 132.0.1 -> 132.0.1-1 (#355483)
[NixPkgs.git] / pkgs / by-name / bl / bluespec / libstp_stub_makefile.patch
blobc714afc670c5df35131b3e87527dc18c733c330a
1 diff -ru bsc-orig/src/vendor/stp/Makefile bsc-new/src/vendor/stp/Makefile
2 --- bsc-orig/src/vendor/stp/Makefile 1969-12-31 16:00:01.000000000 -0800
3 +++ bsc-new/src/vendor/stp/Makefile 2020-11-12 17:42:40.115143035 -0800
4 @@ -9,12 +9,13 @@
5 SRC = src
6 else
7 SRC = src_stub
8 +SNAME += lib/libstp_stub.so
9 endif
11 ifeq ($(OSTYPE), Darwin)
12 -SNAME=libstp.dylib
13 +SNAME = lib/libstp.dylib
14 else
15 -SNAME=libstp.so.1
16 +SNAME += lib/libstp.so.1
17 endif
19 all: install
20 @@ -23,7 +24,7 @@
21 $(MAKE) -C $(SRC) install
22 ln -fsn HaskellIfc include_hs
23 install -m 755 -d $(PREFIX)/lib/SAT
24 - install -m 644 lib/$(SNAME) $(PREFIX)/lib/SAT
25 + install -m 644 $(SNAME) $(PREFIX)/lib/SAT
27 clean:
28 $(MAKE) -C $(SRC) clean