summaryrefslogtreecommitdiff
path: root/binary/darwin/libcutl-configure
blob: daab3ad173ef8c988782bff6ec958ddc13d47d3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#! /bin/sh

libcxx=`g++ --print-file-name libstdc++.a`
libgcc=`g++ --print-file-name libgcc.a`
libgcc_eh=`g++ --print-file-name libgcc_eh.a`

./configure \
--disable-shared \
--with-pic \
CXX="g++ -nodefaultlibs" \
CXXFLAGS=-O2 \
LIBS="$libcxx $libgcc $libgcc_eh -lSystem"