Opened 11 years ago
Closed 11 years ago
#4923 closed defect (fixed)
Linking libraries in configure test of armadillo
Reported by: | knutfrode | Owned by: | Even Rouault |
---|---|---|---|
Priority: | normal | Milestone: | 1.10.0 |
Component: | ConfigBuild | Version: | svn-trunk |
Severity: | normal | Keywords: | |
Cc: |
Description
To compile GDAL with armadillo I had to manually insert -llapack in the following line in configure:
if test -z "`${CXX} testarmadillo.cpp -o testarmadillo -larmadillo 2>&1`" ; then
A more generic and robust solution is probably to add ${LIBS} or ${CPPFLAGS} permanently to this line in trunk.
Change History (1)
comment:1 by , 11 years ago
Milestone: | → 1.10.0 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
r25303 "configure: add ${CPPFLAGS} and ${LIBS} to the test for armadillo, also try adding -llapack (#4923)"