Skip to content

configure: add CPPFLAGS and LDFLAGS where missing #1879

Merged
merged 2 commits into from Aug 27, 2012

3 participants

@r-stu31
r-stu31 commented Aug 27, 2012

In my setup, the needed libraries are not under /lib or /usr/lib, so for "configure" and "rake" I use a wrapper, which looks like:

#!/bin/sh
env LDFLAGS="-L/usr/pkg/lib -Wl,-R/usr/pkg/lib" CPPFLAGS="-I/usr/pkg/include" ./configure
env LDFLAGS="-L/usr/pkg/lib -Wl,-R/usr/pkg/lib" CPPFLAGS="-I/usr/pkg/include" rake

Without the proposed patch, some libraries are not found by the configure script. The "CFLAGS --> CXXFLAGS" change is just cosmetics, feel free to omit it, my setup does not depend on it, but i think, that this way is more correct.

@brixen brixen merged commit 72207d9 into rubinius:master Aug 27, 2012

1 check was pending

Details default The Travis build is in progress
@travisbot

This pull request passes (merged bce2db8 into 8cf8366).

@r-stu31 r-stu31 deleted the r-stu31:configure_flags branch Feb 4, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.