diff options
author | Richard van der Hoff <richard@matrix.org> | 2016-09-05 11:56:53 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2016-09-05 11:56:53 +0100 |
commit | c09aa77c4a8dd27d98d2fe454fa1b589fee47977 (patch) | |
tree | 4a83edcce1ee63d556cf6ed07f9744e772d901d4 /Makefile | |
parent | 057ab15c1a9bd6e09b31955e840861151b5ad69e (diff) |
Avoid ldconfig in the Makefile
... because OSX doesn't support it.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -14,6 +14,7 @@ CC = gcc EMCC = emcc AFL_CC = afl-gcc AFL_CXX = afl-g++ + RELEASE_TARGET := $(BUILD_DIR)/libolm.so.$(VERSION) DEBUG_TARGET := $(BUILD_DIR)/libolm_debug.so.$(VERSION) JS_TARGET := javascript/olm.js @@ -107,7 +108,7 @@ $(RELEASE_TARGET): $(RELEASE_OBJECTS) -Wl,-soname,libolm.so.$(MAJOR) \ -Wl,--version-script,version_script.ver \ $(OUTPUT_OPTION) $(RELEASE_OBJECTS) - ldconfig -l $@ + ln -sf libolm.so.$(VERSION) $(BUILD_DIR)/libolm.so.$(MAJOR) debug: $(DEBUG_TARGET) .PHONY: debug @@ -117,7 +118,7 @@ $(DEBUG_TARGET): $(DEBUG_OBJECTS) -Wl,-soname,libolm_debug.so.$(MAJOR) \ -Wl,--version-script,version_script.ver \ $(OUTPUT_OPTION) $(DEBUG_OBJECTS) - ldconfig -l $@ + ln -sf libolm_debug.so.$(VERSION) $(BUILD_DIR)/libolm_debug.so.$(MAJOR) js: $(JS_TARGET) .PHONY: js |