diff options
author | Simon Warta <[email protected]> | 2015-06-22 13:12:59 +0200 |
---|---|---|
committer | Simon Warta <[email protected]> | 2015-06-22 13:12:59 +0200 |
commit | 61fe5f70701b4cab06c9763cc133b111788f8d02 (patch) | |
tree | 62ac80cbb85718d0aaf84cc935bf5d66cb66311c /src/build-data | |
parent | 808bc5edc075a36f190235dc4bdfcea07a53c5df (diff) |
Use install_name_tool to change location of botan lib on OSX
Diffstat (limited to 'src/build-data')
-rw-r--r-- | src/build-data/makefile/gmake.in | 2 | ||||
-rw-r--r-- | src/build-data/makefile/header.in | 3 | ||||
-rw-r--r-- | src/build-data/makefile/nmake.in | 2 |
3 files changed, 7 insertions, 0 deletions
diff --git a/src/build-data/makefile/gmake.in b/src/build-data/makefile/gmake.in index af902c57b..6b22a26f3 100644 --- a/src/build-data/makefile/gmake.in +++ b/src/build-data/makefile/gmake.in @@ -35,9 +35,11 @@ all: $(APP) $(TEST) $(APP): $(LIBRARIES) $(APPOBJS) $(APP_LINK_CMD) $(LDFLAGS) $(APPOBJS) -L%{out_dir} -l%{libname} $(APP_LINKS_TO) -o $(APP) + $(APP_POST_LINK_CMD) $(TEST): $(LIBRARIES) $(TESTOBJS) $(TEST_LINK_CMD) $(LDFLAGS) $(TESTOBJS) -L%{out_dir} -l%{libname} $(TEST_LINKS_TO) -o $(TEST) + $(TEST_POST_LINK_CMD) $(STATIC_LIB): $(LIBOBJS) $(RM) $(STATIC_LIB) diff --git a/src/build-data/makefile/header.in b/src/build-data/makefile/header.in index dcc43592d..b0e248ebe 100644 --- a/src/build-data/makefile/header.in +++ b/src/build-data/makefile/header.in @@ -19,3 +19,6 @@ APP_FLAGS = $(LANG_FLAGS) $(APP_OPT) $(WARN_FLAGS) TEST_FLAGS = $(LANG_FLAGS) $(APP_OPT) $(WARN_FLAGS) SCRIPTS_DIR = %{scripts_dir} + +APP_POST_LINK_CMD = %{app_post_link_cmd} +TEST_POST_LINK_CMD = %{test_post_link_cmd} diff --git a/src/build-data/makefile/nmake.in b/src/build-data/makefile/nmake.in index c89eb7f44..9445063d9 100644 --- a/src/build-data/makefile/nmake.in +++ b/src/build-data/makefile/nmake.in @@ -43,9 +43,11 @@ all: $(APP) $(TEST) # Link Commands $(APP): $(LIBRARIES) $(APPOBJS) $(APP_LINK_CMD) /Fe$@ $(APPOBJS) $(LIB_FILENAME) $(APP_LINKS_TO) + $(APP_POST_LINK_CMD) $(TEST): $(LIBRARIES) $(TESTOBJS) $(TEST_LINK_CMD) /Fe$@ $(TESTOBJS) $(LIB_FILENAME) $(TEST_LINKS_TO) + $(TEST_POST_LINK_CMD) $(LIB_FILENAME): $(LIBOBJS) !If "$(SO_OBJ_FLAGS)" == "" |