Index: mk/beforeauto.mk.in =================================================================== RCS file: /cvsroot/omniorb/omniORBpy/mk/Attic/beforeauto.mk.in,v retrieving revision 1.1.2.16 diff -c -r1.1.2.16 beforeauto.mk.in *** mk/beforeauto.mk.in 15 Mar 2005 09:41:27 -0000 1.1.2.16 --- mk/beforeauto.mk.in 27 Apr 2005 14:22:25 -0000 *************** *** 944,951 **** #SHAREDLIB_SUFFIX = so PythonSHAREDLIB_SUFFIX = so ! # this works only for xlc version >= 5 ! SharedLibraryPlatformLinkFlagsTemplate = -qmkshrobj endif # compiler not gcc endif # AIX --- 944,970 ---- #SHAREDLIB_SUFFIX = so PythonSHAREDLIB_SUFFIX = so ! # (Not used on AIX) ! SharedLibraryPlatformLinkFlagsTemplate := ! ! # Need to use the script 'ld_so_aix' to make Python modules on AIX. ! # For details see the file Misc/AIX-NOTES that is distributed with the Python ! # source code. ! ! # The pythonX.Y/config directory only exists in Python v2.3+, so this solution ! # doesn't work for earlier versions of Python. (But omniORBpy did't work for ! # earlier versions of Python anyway.) ! PYCONFIGDIR := $(INSTALLPYTHONDIR)/../config ! ! define MakeCXXSharedLibrary ! $(ParseNameSpec); \ ! soname=$(SharedLibrarySoNameTemplate); \ ! set -x; \ ! $(RM) $@; \ ! PATH=$(PYCONFIGDIR):$$PATH \ ! ld_so_aix $(CXX) -bI:$(PYCONFIGDIR)/python.exp -G -o $@ \ ! $(IMPORT_LIBRARY_FLAGS) $(filter-out $(LibSuffixPattern),$^) $$extralibs; ! endef endif # compiler not gcc endif # AIX