Skip to content

Commit

Permalink
Replace ldd with ntldd.
Browse files Browse the repository at this point in the history
  • Loading branch information
Matlo committed Jul 6, 2016
1 parent 157b80e commit 571b483
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ $(CLEANDIRS):
$(MAKE) -C $(@:clean-%=%) clean

ifeq ($(OS),Windows_NT)
DLLS=$(shell ldd {core,config,fpsconfig,launcher}/*.exe | grep mingw | cut -f 3 -d' ' | sort | uniq)
DLLS=$(shell ntldd -R {core,config,fpsconfig,launcher}/*.exe | grep mingw | sed "s/.*=> //g" | cut -d' ' -f 1 | sed 's/\\/\\\\/g' | xargs cygpath -u | sort | uniq)
install: all
mkdir -p setup
for DLL in $(DLLS); \
Expand Down

0 comments on commit 571b483

Please sign in to comment.