]> git.cworth.org Git - glaze/commit
Use "gcc --print-multiarch" to determine directory names for library installs
authorCarl Worth <cworth@cworth.org>
Thu, 22 Aug 2013 00:28:49 +0000 (17:28 -0700)
committerCarl Worth <cworth@cworth.org>
Thu, 22 Aug 2013 00:32:13 +0000 (17:32 -0700)
commit553d330d06573b6bc951e3c00672a1abfe29b7aa
tree02aa93387b0394615002097ca75d74a0b190c9a8
parentf2c5ebbfe53ee598aa2b354f0e013aba3a10fffc
Use "gcc --print-multiarch" to determine directory names for library installs

Previously, we had hardcoded names of lib32 and lib64. Instead, we now
ask gcc for the actual triple being targeted, (such as, for example,
lib/i386-linux-gnu or lib/x86_64-linux-gnu).

Using these correct names means that the user of Glaze can put a
literal $LIB into LD_PRELOAD or LD_LIBRARY_PATH and the run-time
linker will expand that to the correct name based on the architecture
of the program being linked
.gitignore
Makefile
configure