diff options
author | Victor Westerhuis <victor@westerhu.is> | 2021-12-04 01:26:36 +0100 |
---|---|---|
committer | Victor Westerhuis <victor@westerhu.is> | 2021-12-04 01:26:36 +0100 |
commit | 7b2524ec0c036a3aab8e97e77c8a94b3dc12fe82 (patch) | |
tree | b65c2c7c176ece0910409e15d75ff01e2a489227 /src/main.cc | |
parent | bb487b1368b65a1f30fe3a59fd0c7d84bdcc483b (diff) | |
download | colm-7b2524ec0c036a3aab8e97e77c8a94b3dc12fe82.tar.gz |
Honor includedir and libdir settings
They are usually direct subdirectories of the prefix, but they can be
different, for example in Debian's multiarch scheme.
Diffstat (limited to 'src/main.cc')
-rw-r--r-- | src/main.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.cc b/src/main.cc index 3a1db38c..06647497 100644 --- a/src/main.cc +++ b/src/main.cc @@ -481,9 +481,9 @@ void compileOutput() else { sprintf( command, COMPILE_COMMAND_STRING - " -I" PREFIX "/include" - " -L" PREFIX "/lib" - " -Wl,-rpath," PREFIX "/lib", + " -I" INCLUDEDIR + " -L" LIBDIR + " -Wl,-rpath," LIBDIR, compiler, cflags, binaryFn, intermedFn ); } |