mirror of
https://github.com/nasa/trick.git
synced 2025-01-18 02:40:08 +00:00
Trick library files going into lib64 if TRICK_FORCE_32BIT is on.
Added a test for TRICK_FORCE_32BIT and changed the lib directory to lib instead of lib64. refs #82
This commit is contained in:
parent
40a5dc7f17
commit
a4f1da2b14
@ -6,6 +6,9 @@ LD_PARTIAL = -Ur
|
||||
LD_FILELIST = @
|
||||
|
||||
# if we are on a Rehat system, the lib directory is lib64 on 64 bit machines
|
||||
ifeq ($(TRICK_FORCE_32BIT), 1)
|
||||
TRICK_LIB_DIR := ${TRICK_HOME}/lib
|
||||
else
|
||||
ifneq ("$(wildcard /etc/redhat-release)","")
|
||||
UNAME_M := $(shell uname -m)
|
||||
ifeq ($(UNAME_M),x86_64)
|
||||
@ -16,6 +19,7 @@ endif
|
||||
else
|
||||
TRICK_LIB_DIR := ${TRICK_HOME}/lib
|
||||
endif
|
||||
endif
|
||||
|
||||
SHARED_LIB_OPT := -shared
|
||||
RPATH = -Wl,-rpath=${TRICK_LIB_DIR}
|
||||
|
Loading…
Reference in New Issue
Block a user