mirror of
https://github.com/capstone-engine/capstone.git
synced 2025-02-12 18:08:42 +00:00
Makefile: -share option is not for Darwin
This commit is contained in:
parent
c7d7884cf7
commit
2d201349fa
6
Makefile
6
Makefile
@ -26,8 +26,6 @@ ifneq (,$(findstring yes,$(CAPSTONE_DIET)))
|
||||
CFLAGS += -DCAPSTONE_DIET
|
||||
endif
|
||||
|
||||
LDFLAGS += -shared
|
||||
|
||||
PREFIX ?= /usr
|
||||
DESTDIR ?=
|
||||
INCDIR = $(DESTDIR)$(PREFIX)/include
|
||||
@ -44,6 +42,10 @@ endif
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq ($(UNAME_S),Darwin)
|
||||
LDFLAGS += -shared
|
||||
endif
|
||||
|
||||
LIBDATADIR = $(LIBDIR)
|
||||
ifeq ($(UNAME_S), FreeBSD)
|
||||
LIBDATADIR = $(DESTDIR)$(PREFIX)/libdata
|
||||
|
Loading…
x
Reference in New Issue
Block a user