summaryrefslogtreecommitdiff
path: root/scripts/TestUtil.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/TestUtil.py')
-rwxr-xr-xscripts/TestUtil.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/TestUtil.py b/scripts/TestUtil.py
index 3737f60b251..2cec8a531f2 100755
--- a/scripts/TestUtil.py
+++ b/scripts/TestUtil.py
@@ -514,7 +514,11 @@ def phpSetup(clientConfig = False, iceOptions = None, iceProfile = None):
extDir = os.path.join(iceHome, "bin")
incDir = os.path.join(iceHome, "php")
else:
- ext = "IcePHP.so"
+ ext = "IcePHP"
+ if isDarwin():
+ ext += ".dy"
+ else:
+ ext += ".so"
if not iceHome:
extDir = os.path.abspath(os.path.join(toplevel, "php", "lib"))
incDir = extDir