Ice: pass LDFLAGS.

This commit is contained in:
Christian Neukirchen 2016-05-26 20:04:18 +02:00
parent a6cafa346b
commit 2bf95c1567
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'Ice'
pkgname=Ice
version=3.5.1
revision=12
revision=13
build_wrksrc=cpp
homepage="http://www.zeroc.com"
# XXX: other language bindings
@ -35,7 +35,7 @@ do_configure() {
-e "s|ifeq (\$(CXX),g++)|ifeq (\$(CXX),${CXX})|" \
-e "/CXXARCHFLAGS\s+=/ s| -m.*|${CXXFLAGS}|" \
-e "s|\$(CXX) -shared|${CXX} -shared|" \
-e "s|-rdynamic|-rdynamic -Wl,-rpath,\$(libdir)|"
-e "s|-rdynamic|-rdynamic -Wl,-rpath,\$(libdir) ${LDFLAGS}|"
# Fix cross building
if [ "$CROSS_BUILD" ]; then
# Use host's slice2cpp and slice2freeze