summaryrefslogtreecommitdiff
path: root/binary/linux-gnu/odb-configure
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-02-22 15:07:37 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-02-22 15:07:37 +0200
commitd61552445f5abcfa1df09e4a4990673a0c316675 (patch)
treeffdbabe0200e695d63f0532fa41aa8296e8e4b1d /binary/linux-gnu/odb-configure
parent7a03b557003647fe8075a8863ec6e2d96fd43f74 (diff)
Add sypport for specifying libexec directory
Diffstat (limited to 'binary/linux-gnu/odb-configure')
-rwxr-xr-xbinary/linux-gnu/odb-configure4
1 files changed, 2 insertions, 2 deletions
diff --git a/binary/linux-gnu/odb-configure b/binary/linux-gnu/odb-configure
index 2634a24..c592351 100755
--- a/binary/linux-gnu/odb-configure
+++ b/binary/linux-gnu/odb-configure
@@ -3,10 +3,10 @@
./configure \
--with-libcutl=../libcutl \
--disable-rpath \
---with-gxx-name=../lib/odb/$2/bin/g++ \
+--with-gxx-name=../$4/odb/$2/bin/g++ \
--with-options-file=../etc/odb/default.options \
--prefix=$3 \
---libexecdir=$3/lib \
+--libexecdir=$3/$4 \
CXX="g++ -nodefaultlibs" \
CXXFLAGS=-O2 \
LIBS="-Wl,-Bstatic,-lstdc++,-Bdynamic -Wl,-lgcc -Wl,-lgcc_eh -Wl,-lm -Wl,-lc"