Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tweak to b37ad3c; install libstp_stub.so when STP_STUB=1 #278

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions src/vendor/stp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,13 @@ ifeq ($(STP_STUB),)
SRC = src
else
SRC = src_stub
SNAME += lib/libstp_stub.so
endif

ifeq ($(OSTYPE), Darwin)
SNAME=libstp.dylib
SNAME = lib/libstp.dylib
else
SNAME=libstp.so.1
SNAME += lib/libstp.so.1
endif

all: install
Expand All @@ -23,7 +24,7 @@ install:
$(MAKE) -C $(SRC) install
ln -fsn HaskellIfc include_hs
install -m 755 -d $(PREFIX)/lib/SAT
install -m 644 lib/$(SNAME) $(PREFIX)/lib/SAT
install -m 644 $(SNAME) $(PREFIX)/lib/SAT

clean:
$(MAKE) -C $(SRC) clean
Expand Down