diff options
author | Peter Eisentraut | 2008-04-08 09:50:29 +0000 |
---|---|---|
committer | Peter Eisentraut | 2008-04-08 09:50:29 +0000 |
commit | 65d1048d694d75a07fa19fee4a99706c25f48ba8 (patch) | |
tree | be706f95e1cde4447e61fa5e725b5b7638584e35 | |
parent | d30f5c26cec8c46ae70a9a796f8eba6edfd76cdd (diff) |
On cygwin and win32, don't override the shlib name when building a module.
Should fix regression test failures on those platforms.
-rw-r--r-- | src/Makefile.shlib | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/Makefile.shlib b/src/Makefile.shlib index 8e336f9bdf..cafb13586d 100644 --- a/src/Makefile.shlib +++ b/src/Makefile.shlib @@ -311,12 +311,16 @@ ifeq ($(PORTNAME), unixware) endif ifeq ($(PORTNAME), cygwin) - shlib = cyg$(NAME)$(DLSUFFIX) + ifdef SO_MAJOR_VERSION + shlib = cyg$(NAME)$(DLSUFFIX) + endif haslibarule = yes endif ifeq ($(PORTNAME), win32) - shlib = lib$(NAME)$(DLSUFFIX) + ifdef SO_MAJOR_VERSION + shlib = lib$(NAME)$(DLSUFFIX) + endif haslibarule = yes endif |