Ticket #36220: patch-python-Makefile.in.diff

File patch-python-Makefile.in.diff, 879 bytes (added by Tom.Schoonjans@…, 12 years ago)
  • python/Makefile.in

    old new  
    484484
    485485@ENABLE_PYTHON_TRUE@pythonxrl: ${top_srcdir}/src/xraylib.i
    486486@ENABLE_PYTHON_TRUE@    $(SWIG) -I${top_srcdir}/include -includeall -o xraylib_wrap.c -python ${top_srcdir}/src/xraylib.i
    487 @ENABLE_PYTHON_TRUE@    CC="$(CC)" CPPFLAGS="-I${top_srcdir}/include" CFLAGS="$(ARCHFLAGS)" $(PYTHON) xrlsetup.py build_ext --inplace
     487@ENABLE_PYTHON_TRUE@    CC="$(CC)" CPPFLAGS="-I${top_srcdir}/include" LDFLAGS="$(PYTHON_LDFLAGS)" CFLAGS="$(ARCHFLAGS)" $(PYTHON) xrlsetup.py build_ext --inplace
    488488
    489489#I like to use my own commands for the install: although xrlsetup.py can handle this, I want to do it myself. Libtool would also be a possibility as is detailed in the automake manual.
    490490#MKDIR_P's are necessary for distcheck