fixed MingW64 install on Windows (absop) (github issue #230)
This commit is contained in:
parent
00967aac24
commit
1ed38eef33
1 changed files with 4 additions and 4 deletions
8
Makefile
8
Makefile
|
@ -106,7 +106,7 @@ else
|
||||||
AR=$(CROSS_PREFIX)ar
|
AR=$(CROSS_PREFIX)ar
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
STRIP=$(CROSS_PREFIX)strip
|
STRIP?=$(CROSS_PREFIX)strip
|
||||||
CFLAGS+=-fwrapv # ensure that signed overflows behave as expected
|
CFLAGS+=-fwrapv # ensure that signed overflows behave as expected
|
||||||
ifdef CONFIG_WERROR
|
ifdef CONFIG_WERROR
|
||||||
CFLAGS+=-Werror
|
CFLAGS+=-Werror
|
||||||
|
@ -319,9 +319,9 @@ clean:
|
||||||
|
|
||||||
install: all
|
install: all
|
||||||
mkdir -p "$(DESTDIR)$(PREFIX)/bin"
|
mkdir -p "$(DESTDIR)$(PREFIX)/bin"
|
||||||
$(STRIP) qjs qjsc
|
$(STRIP) qjs$(EXE) qjsc$(EXE)
|
||||||
install -m755 qjs qjsc "$(DESTDIR)$(PREFIX)/bin"
|
install -m755 qjs$(EXE) qjsc$(EXE) "$(DESTDIR)$(PREFIX)/bin"
|
||||||
ln -sf qjs "$(DESTDIR)$(PREFIX)/bin/qjscalc"
|
ln -sf qjs$(EXE) "$(DESTDIR)$(PREFIX)/bin/qjscalc$(EXE)"
|
||||||
mkdir -p "$(DESTDIR)$(PREFIX)/lib/quickjs"
|
mkdir -p "$(DESTDIR)$(PREFIX)/lib/quickjs"
|
||||||
install -m644 libquickjs.a "$(DESTDIR)$(PREFIX)/lib/quickjs"
|
install -m644 libquickjs.a "$(DESTDIR)$(PREFIX)/lib/quickjs"
|
||||||
ifdef CONFIG_LTO
|
ifdef CONFIG_LTO
|
||||||
|
|
Loading…
Reference in a new issue