diff --git a/src/makefiles/Makefile.aix b/src/makefiles/Makefile.aix index c33c7a546c0ffd85371c5540d441b3f6b9791c78..a9ba100305c4dda7988dcb4f5075fe24b93c17da 100644 --- a/src/makefiles/Makefile.aix +++ b/src/makefiles/Makefile.aix @@ -11,7 +11,7 @@ ifneq ($(GCC), yes) ifeq ($(host_os), aix3.2.5) LDFLAGS_SL = -e _nostart endif - ifeq ($(host_os), aix4.1) + ifneq (,$(findstring aix4.1, $(host_os))) LDFLAGS_SL = -bnoentry endif endif @@ -29,7 +29,7 @@ $(POSTGRES_IMP): ifeq ($(host_os), aix3.2.5) $(MKLDEXPORT) postgres $(bindir) > $@ else - ifeq ($(host_os), aix4.1) + ifneq (,$(findstring aix4.1, $(host_os))) $(MKLDEXPORT) postgres $(bindir) > $@ else $(MKLDEXPORT) postgres . > $@