https://github.com/geodynamics/citcoms
Revision 3eb8d9cdcec4a1547a958961b83abc91be2997cd authored by Leif Strand on 20 June 2007, 01:47:03 UTC, committed by Leif Strand on 20 June 2007, 01:47:03 UTC
"-no-undefined" (in order to tickle libtool into creating DLLs on
Windows), we need to specify the Python library on the module link
line.  But with Apple's Python on Mac OS X, "-lpythonX.X" will not
work; no, sir.  On the Mac, it must be done with "-framework Python".
(If they want to be different, why don't they just pour jell-o down
their pants?)  In order slip this past libtool, it must be given as
"-Wl,-framework,Python", and this is what PYTHON_LA_LDFLAGS contains
on Mac OS X under Apple's framework-ized Python.

1 parent 89d0e65
History
Tip revision: 3eb8d9cdcec4a1547a958961b83abc91be2997cd authored by Leif Strand on 20 June 2007, 01:47:03 UTC
Added PYTHON_LA_LDFLAGS. Now that we link Python modules with
Tip revision: 3eb8d9c
File Mode Size
cit_fortran.m4 -rw-r--r-- 8.5 KB
cit_hdf.m4 -rw-r--r-- 2.0 KB
cit_mpi.m4 -rw-r--r-- 16.8 KB
cit_petsc.m4 -rw-r--r-- 11.1 KB
cit_python.m4 -rw-r--r-- 10.2 KB

back to top