mirror of
https://github.com/recp/cglm.git
synced 2026-02-17 03:39:05 +00:00
build: fix make install include path
* now we can include library headers like this: #include <cglm/cglm.h>
This commit is contained in:
13
autogen.sh
13
autogen.sh
@@ -6,12 +6,15 @@
|
||||
# Full license can be found in the LICENSE file
|
||||
#
|
||||
|
||||
cd `dirname "$0"`
|
||||
cd $(dirname "$0")
|
||||
|
||||
if [ "`uname`" = "Darwin" ]; then
|
||||
libtoolBin=$(which glibtoolize)
|
||||
libtoolBinDir=$(dirname "${libtoolBin}")
|
||||
ln -s $libtoolBin "${libtoolBinDir}/libtoolize"
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
libtoolBin=$(which glibtoolize)
|
||||
libtoolBinDir=$(dirname "${libtoolBin}")
|
||||
|
||||
if [ ! -f "${libtoolBinDir}/libtoolize" ]; then
|
||||
ln -s $libtoolBin "${libtoolBinDir}/libtoolize"
|
||||
fi
|
||||
fi
|
||||
|
||||
autoheader
|
||||
|
||||
Reference in New Issue
Block a user