Ticket #26107: patch-INCHI-1-API_INCHI_API_gcc_so_makefile-makefile.diff
File patch-INCHI-1-API_INCHI_API_gcc_so_makefile-makefile.diff, 1.1 KB (added by petri@…, 14 years ago) |
---|
-
INCHI-1-API/INCHI_API/gcc_so_makefile/makefile
old new 1 1 # Comment out the next line to create so/dll only 2 CREATE_MAIN = 12 #CREATE_MAIN = 1 3 3 4 4 ifdef windir 5 5 # Under Win32/MinGW/gcc to add functions compliant to Pascal/stdcall calling … … 19 19 # In addition, inchi.map restricts set of expoorted from .so 20 20 # functions to those which belong to InChI API 21 21 ifndef windir 22 LINUX_MAP = ,--version-script=libinchi.map23 22 ifdef ISLINUX 23 LINUX_MAP = ,--version-script=libinchi.map 24 24 LINUX_FPIC = -fPIC 25 25 LINUX_Z_RELRO = ,-z,relro 26 LINUX_SONAME = ,-soname, 26 27 endif 27 28 endif 28 29 … … 213 214 $(SHARED_LINK) $(SHARED_LINK_PARM) -o \ 214 215 $(INCHI_LIB_PATHNAME).so$(VERSION) \ 215 216 $(INCHI_LIB_OBJS) \ 216 -Wl$(LINUX_MAP)$(LINUX_Z_RELRO) ,-soname,$(INCHI_LIB_NAME).so$(MAIN_VERSION)217 -Wl$(LINUX_MAP)$(LINUX_Z_RELRO)$(LINUX_SONAME)$(INCHI_LIB_NAME).so$(MAIN_VERSION) 217 218 ln -fs $(INCHI_LIB_NAME).so$(VERSION) \ 218 219 $(INCHI_LIB_PATHNAME).so$(MAIN_VERSION) 219 220