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

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

    old new  
    2727
    2828pythonxrl: ${top_srcdir}/src/xraylib.i
    2929        $(SWIG) -I${top_srcdir}/include -includeall -o xraylib_wrap.c -python ${top_srcdir}/src/xraylib.i
    30         CC="$(CC)" CPPFLAGS="-I${top_srcdir}/include" CFLAGS="$(ARCHFLAGS)" $(PYTHON) xrlsetup.py build_ext --inplace
     30        CC="$(CC)" CPPFLAGS="-I${top_srcdir}/include" LDFLAGS="$(PYTHON_LDFLAGS)" CFLAGS="$(ARCHFLAGS)" $(PYTHON) xrlsetup.py build_ext --inplace
    3131
    3232
    3333