Skip to content

Commit

Permalink
don't build pacparse on win32 by default, missing sys/socket.h
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Dykstra committed Jun 14, 2023
1 parent f6c3cfa commit d4fbf9c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/Makefile.win32
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ PYTHON ?= python

.PHONY: clean pymod install-pymod

all: pacparser.dll pactester pacparse
all: pacparser.dll pactester

pacparser.o: pacparser.c pac_utils.h js.lib
$(CC) $(CFLAGS) -c pacparser.c -o pacparser.o
Expand All @@ -69,14 +69,12 @@ pactester: pactester.c pacparser.h pacparser.o
pacparse: pacparse.c pacparser.h pacparser.o
$(CC) pacparse.c pacparser.o -o pacparse -ljs -Lspidermonkey -lws2_32

dist: pacparser.dll pactester pacparse pacparser.def
dist: pacparser.dll pactester pacparser.def
if exist dist rmdir /s /q dist
mkdir dist
$(CP) pacparser.dll dist
$(CP) pacparser.h dist
$(CP) pactester.exe dist
$(CP) pacparse.exe dist
$(CP) pacwget dist
$(CP) pacparser.def dist
if exist pacparser.lib $(CP) pacparser.lib dist
$(CP) ..\README.md dist\README.txt
Expand Down

0 comments on commit d4fbf9c

Please sign in to comment.