mirror of
https://github.com/nasa/trick.git
synced 2025-04-16 07:26:48 +00:00
Fixed S_overrides.mk for SIM_trickified_shared to set proper shared lib based on build type.
This commit is contained in:
parent
aa10fecd47
commit
27d728d242
@ -2,7 +2,14 @@ LOCAL_DIR := $(abspath $(dir $(lastword $(MAKEFILE_LIST))))
|
||||
|
||||
#Normally would just include S_overrides_trickify.mk like below. Due to the weird order of operations in this test, the file won't be generated before this include statement. I've copied the contents of the file instead.
|
||||
#include $(LOCAL_DIR)/trickified_project/trickified/S_overrides_trickify.mk
|
||||
TRICK_LDFLAGS += $(LOCAL_DIR)/trickified_project/trickified/trickified_myproject.so
|
||||
|
||||
BUILD_TYPE := so
|
||||
UNAME := $(shell uname)
|
||||
ifeq ($(UNAME),Darwin)
|
||||
BUILD_TYPE := dylib
|
||||
endif
|
||||
|
||||
TRICK_LDFLAGS += $(LOCAL_DIR)/trickified_project/trickified/trickified_myproject.$(BUILD_TYPE)
|
||||
TRICK_EXT_LIB_DIRS += $(LOCAL_DIR)/trickified_project/include_bar:$(LOCAL_DIR)/trickified_project/include_foo
|
||||
TRICK_PYTHON_PATH += $(LOCAL_DIR)/trickified_project/trickified/python
|
||||
TRICK_SWIG_FLAGS += -I$(LOCAL_DIR)/trickified_project/trickified/
|
||||
|
Loading…
x
Reference in New Issue
Block a user