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