Merge pull request #19 from owl4ce/patch-2

Makefile: Force `cp` to overwrite the existing one
This commit is contained in:
Davide Berardi 2022-01-30 15:10:24 +01:00 committed by GitHub
commit ea10b0baf7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,7 +15,7 @@ gconv-modules:
.PHONY: gconvpath .PHONY: gconvpath
gconvpath: gconvpath:
mkdir -p GCONV_PATH=. mkdir -p GCONV_PATH=.
cp $(TRUE) GCONV_PATH=./pwnkit.so:. cp -f $(TRUE) GCONV_PATH=./pwnkit.so:.
pwnkit.so: pwnkit.c pwnkit.so: pwnkit.c
$(CC) $(CFLAGS) --shared -fPIC -o $@ $< $(CC) $(CFLAGS) --shared -fPIC -o $@ $<