Skip to content

Commit

Permalink
Minor fixes for STP handling
Browse files Browse the repository at this point in the history
  • Loading branch information
Vekhir committed Aug 13, 2023
1 parent 4866ecf commit cf03829
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/vendor/stp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ ifeq ($(STP_USE_LIB),included) # compile from provided source
else
SNAME=libstp_incl.so.1
endif
else ifeq ($(STP_USE_LIB),disable) # disable STP at runtime
else ifeq ($(STP_USE_LIB),disable) # disable STP
SRC = src_stub
SNAME=libstp_disabled.$(SO)
else ifeq ($(STP_USE_LIB),system) # use system STP
Expand Down Expand Up @@ -63,8 +63,11 @@ install:
ln -fsn HaskellIfc include_hs
@# necessary for bsc linker (src/comp/Makefile:51)
ln -s "$(SNAME)" lib/libstp.$(SO)
# put self-compiled library in path where it can be found at runtime
ifeq ($(SRC), $(findstring $(SRC), src src_stub))
install -m 755 -d $(PREFIX)/lib/SAT
install -m 644 "lib/$(SNAME)" $(PREFIX)/lib/SAT
endif

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

0 comments on commit cf03829

Please sign in to comment.