File tree 1 file changed +1
-8
lines changed
1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -134,13 +134,6 @@ def add_dir_if_exists(filtered_dirs, *dirs):
134
134
135
135
FREETDS = None
136
136
137
- with stdchannel_redirected (sys .stderr , os .devnull ):
138
- libc_has_vasprintf_chk = compiler .has_function ('__vasprintf_chk' )
139
- print ("setup.py: libc_has_vasprintf_chk = %r" % libc_has_vasprintf_chk )
140
-
141
- if not libc_has_vasprintf_chk :
142
- print ("setup.py: libc doesn't have __vasprintf_chk - not going to use bundled FreeTDS" )
143
-
144
137
if sys .platform == 'darwin' :
145
138
FREETDS = osp .join (ROOT , 'freetds' , 'darwin_%s' % BITNESS )
146
139
print ("""setup.py: Detected Darwin/Mac OS X.
@@ -156,7 +149,7 @@ def add_dir_if_exists(filtered_dirs, *dirs):
156
149
sudo port install freetds
157
150
""" )
158
151
159
- if libc_has_vasprintf_chk and not os .getenv ('PYMSSQL_DONT_BUILD_WITH_BUNDLED_FREETDS' ):
152
+ if not os .getenv ('PYMSSQL_DONT_BUILD_WITH_BUNDLED_FREETDS' ):
160
153
if SYSTEM == 'Linux' :
161
154
FREETDS = osp .join (ROOT , 'freetds' , 'nix_%s' % BITNESS )
162
155
elif SYSTEM == 'FreeBSD' :
You can’t perform that action at this time.
0 commit comments