fix cygwin build
This commit is contained in:
parent
fc4b7f8008
commit
4b85095405
@ -58,7 +58,7 @@ objs: $(OBJECTS)
|
|||||||
LOBJECTS = $(OBJECTS:.o=.lo)
|
LOBJECTS = $(OBJECTS:.o=.lo)
|
||||||
|
|
||||||
$(LIBNAME): $(OBJECTS)
|
$(LIBNAME): $(OBJECTS)
|
||||||
$(LIBTOOL) --mode=link --tag=CC $(CC) $(LDFLAGS) $(LOBJECTS) -o $(LIBNAME) -rpath $(LIBPATH) -version-info $(VERSION_SO)
|
$(LIBTOOL) --mode=link --tag=CC $(CC) $(LDFLAGS) $(LOBJECTS) -o $(LIBNAME) -rpath $(LIBPATH) -version-info $(VERSION_SO) $(LIBTOOLFLAGS)
|
||||||
|
|
||||||
install: $(LIBNAME)
|
install: $(LIBNAME)
|
||||||
install -d $(DESTDIR)$(LIBPATH)
|
install -d $(DESTDIR)$(LIBPATH)
|
||||||
|
@ -85,6 +85,9 @@ endif
|
|||||||
ifeq ($(PLATFORM), Darwin)
|
ifeq ($(PLATFORM), Darwin)
|
||||||
CFLAGS += -Wno-nullability-completeness
|
CFLAGS += -Wno-nullability-completeness
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(PLATFORM), CYGWIN)
|
||||||
|
LIBTOOLFLAGS += -no-undefined
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(PLATFORM),FreeBSD)
|
ifeq ($(PLATFORM),FreeBSD)
|
||||||
_ARCH := $(shell sysctl -b hw.machine_arch)
|
_ARCH := $(shell sysctl -b hw.machine_arch)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user