[Bug 197757] lang/python27, lang/python32 and lang/python33: pythonX.Y-config --ldflags missing -L/usr/local/lib when NLS option turned off

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Mar 4 17:58:47 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197757

Jan Beich <jbeich at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jbeich at FreeBSD.org

--- Comment #2 from Jan Beich <jbeich at FreeBSD.org> ---
Created attachment 153794
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=153794&action=edit
Mimic shell script

https://lists.freebsd.org/pipermail/freebsd-ports/2015-March/098241.html

$ make WITH=PYTHON -C audio/alsa-lib
[...]
--- smixer-python.la ---
CCLD     smixer-python.la
/usr/bin/ld: cannot find -lpython2.7
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** [smixer-python.la] Error code 1

The patch is slightly from upstream version:
- derive from exec_prefix like pkg-config or shell script
- don't depend on LIBPL like shell script

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-python mailing list