Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Mar 2015 17:58:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 197757] lang/python27, lang/python32 and lang/python33: pythonX.Y-config --ldflags missing -L/usr/local/lib when NLS option turned off
Message-ID:  <bug-197757-21822-4bVSE8SMKf@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-197757-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-197757-21822@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197757

Jan Beich <jbeich@FreeBSD.org> changed:

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

--- Comment #2 from Jan Beich <jbeich@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-197757-21822-4bVSE8SMKf>