mirror of https://git.wownero.com/dsc/mxe.git
go: remove target directory before copying to it
Otherwise when the version is updated and the package is rebuilt, the target directory contains two mixed installations.
This commit is contained in:
parent
8ac70a25b7
commit
ed4948e9f5
|
@ -26,6 +26,7 @@ define $(PKG)_BUILD
|
|||
DYLD_INSERT_LIBRARIES= \
|
||||
./make.bash
|
||||
|
||||
rm -rf '$(PREFIX)/$(TARGET)/go'
|
||||
mkdir -p '$(PREFIX)/$(TARGET)/go'
|
||||
for d in include src bin pkg; do \
|
||||
cp -a '$(1)'/$$d '$(PREFIX)/$(TARGET)/go/' ; \
|
||||
|
|
Loading…
Reference in New Issue