mirror of
https://github.com/recp/cglm.git
synced 2026-11-20 02:33:10 -06:00
build: fix make install include path
* now we can include library headers like this: #include <cglm/cglm.h>
This commit is contained in:
1 parent
8aa80d3e9b
commit
e47cc22300
4 files changed
+40
-32
No files matched your search
+8
-5
@@ -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