Skip to content

Commit

Permalink
mk: fix darwin ABI versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
sreimers committed Jun 4, 2021
1 parent 8dd357e commit adc1d0b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions mk/re.mk
Original file line number Diff line number Diff line change
Expand Up @@ -235,9 +235,10 @@ endif
ifeq ($(CC_NAME),gcc)
SH_LFLAGS += -dylib
endif
ifneq ($(VERSION),)
SH_LFLAGS += -current_version $(VERSION)
SH_LFLAGS += -compatibility_version $(VERSION)
ifneq ($(ABI_CUR),)
SH_LFLAGS += -current_version \
$(shell expr $(ABI_CUR) + 1).$(ABI_REV)
SH_LFLAGS += -compatibility_version $(shell expr $(ABI_CUR) + 1)
endif
MOD_LFLAGS += -undefined dynamic_lookup
APP_LFLAGS +=
Expand Down

0 comments on commit adc1d0b

Please sign in to comment.