summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2011-01-05 00:59:31 (GMT)
committerPierre Joye <pajoye@php.net>2011-01-05 00:59:31 (GMT)
commit84b854a603394ba4c4624a2f697cc995f0aa3c4d (patch)
treed0d4bd93d0ad69e85679a7455a67e3e13750130a /win32
parent8634d8ca2b8f24a4d3f236d91ba2467ec6ac718e (diff)
downloadphp-84b854a603394ba4c4624a2f697cc995f0aa3c4d.tar.gz
- revert rev. 307044
Diffstat (limited to 'win32')
-rw-r--r--win32/build/confutils.js11
1 files changed, 0 insertions, 11 deletions
diff --git a/win32/build/confutils.js b/win32/build/confutils.js
index 4539a10..55dbfc2 100644
--- a/win32/build/confutils.js
+++ b/win32/build/confutils.js
@@ -648,9 +648,6 @@ function CHECK_LIB(libnames, target, path_to_check, common_name)
// Expand path to include general dirs
path_to_check += ";" + php_usual_lib_suspects;
- // For static libs
- eval('var static_lib = !PHP_' + common_name.toUpperCase() + '_SHARED;');
-
// It is common practice to put libs under one of these dir names
var subdirs = new Array(PHP_DEBUG == "yes" ? "Debug" : (PHP_DEBUG_PACK == "yes"?"Release_Dbg":"Release"), "lib", "libs", "libexec");
@@ -666,14 +663,6 @@ function CHECK_LIB(libnames, target, path_to_check, common_name)
name = name.replace(rExp,"_debug.lib");
libnames.unshift(name);
}
- } else if (!static_lib) {
- var length = libnames.length;
- for (var i = 0; i < length; i++) {
- var name = new String(libnames[i]);
- rExp = /_a.lib$/i;
- name = name.replace(rExp,".lib");
- libnames.unshift(name);
- }
}
var i, j, k, libname;