Skip to content

Commit 5bfbb79

Browse files
author
grahamd
committed
Need to be looking for link library and not dll when determining if APR 1
is present on Windows.
1 parent e3319d5 commit 5bfbb79

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dist/setup.py.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ class ModPyExtension(Extension):
128128
if winbuild:
129129
apr1 = 0
130130
for dir in library_dirs:
131-
if os.path.exists(os.path.join(dir, 'libapr-1.dll')):
131+
if os.path.exists(os.path.join(dir, 'libapr-1.lib')):
132132
apr1 = 1
133133
if apr1:
134134
libraries = ['libhttpd', 'libapr-1', 'libaprutil-1', 'ws2_32']

0 commit comments

Comments
 (0)