Opened 16 years ago
Closed 16 years ago
#2069 closed defect (fixed)
Mac OS X patches - framework libname fix
Reported by: | kyngchaos | Owned by: | hobu |
---|---|---|---|
Priority: | high | Milestone: | 1.5.0 |
Component: | ConfigBuild | Version: | 1.5.0 betas/RCs |
Severity: | major | Keywords: | |
Cc: |
Description
Sorry, forgot about this. I worked out a way to get the OSX framework install_name set correctly during compilation, instead of during install. Review:
The problem with setting the install_name during install, is that the SWIG python install is controlled by Python and there is no simple way to find the installed files to change the linked gdal framework install_name. Roughly:
- libgdal built as libgdal.dylib
- SWIG links libgdal.dylib
- install libgdal.dylib
- change installed libgdal.dylib -> GDAL
- SWIG Python installed, still linked to libgdal.dylib
- can't locate installed SWIG Python to change linking to GDAL
These patches will change the install_name of libgdal.dylib right after compilation of the library, so that SWIG will link to the correct install_name from the start, and there is no need to change the linking afterwards.
Attachments (2)
Change History (6)
by , 16 years ago
Attachment: | GNUmakefile.patch added |
---|
comment:3 by , 16 years ago
Sorry, I missed your revision note. Looks good - I see it in the beta2 source. Thanks.
PS. Trac isn't letting me resolve this, but gives me a database is locked error.
comment:4 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
main makefile