Commit c09aa77c authored by Richard van der Hoff's avatar Richard van der Hoff
Browse files

Avoid ldconfig in the Makefile

... because OSX doesn't support it.
parent 057ab15c
...@@ -14,6 +14,7 @@ CC = gcc ...@@ -14,6 +14,7 @@ CC = gcc
EMCC = emcc EMCC = emcc
AFL_CC = afl-gcc AFL_CC = afl-gcc
AFL_CXX = afl-g++ AFL_CXX = afl-g++
RELEASE_TARGET := $(BUILD_DIR)/libolm.so.$(VERSION) RELEASE_TARGET := $(BUILD_DIR)/libolm.so.$(VERSION)
DEBUG_TARGET := $(BUILD_DIR)/libolm_debug.so.$(VERSION) DEBUG_TARGET := $(BUILD_DIR)/libolm_debug.so.$(VERSION)
JS_TARGET := javascript/olm.js JS_TARGET := javascript/olm.js
...@@ -107,7 +108,7 @@ $(RELEASE_TARGET): $(RELEASE_OBJECTS) ...@@ -107,7 +108,7 @@ $(RELEASE_TARGET): $(RELEASE_OBJECTS)
-Wl,-soname,libolm.so.$(MAJOR) \ -Wl,-soname,libolm.so.$(MAJOR) \
-Wl,--version-script,version_script.ver \ -Wl,--version-script,version_script.ver \
$(OUTPUT_OPTION) $(RELEASE_OBJECTS) $(OUTPUT_OPTION) $(RELEASE_OBJECTS)
ldconfig -l $@ ln -sf libolm.so.$(VERSION) $(BUILD_DIR)/libolm.so.$(MAJOR)
debug: $(DEBUG_TARGET) debug: $(DEBUG_TARGET)
.PHONY: debug .PHONY: debug
...@@ -117,7 +118,7 @@ $(DEBUG_TARGET): $(DEBUG_OBJECTS) ...@@ -117,7 +118,7 @@ $(DEBUG_TARGET): $(DEBUG_OBJECTS)
-Wl,-soname,libolm_debug.so.$(MAJOR) \ -Wl,-soname,libolm_debug.so.$(MAJOR) \
-Wl,--version-script,version_script.ver \ -Wl,--version-script,version_script.ver \
$(OUTPUT_OPTION) $(DEBUG_OBJECTS) $(OUTPUT_OPTION) $(DEBUG_OBJECTS)
ldconfig -l $@ ln -sf libolm_debug.so.$(VERSION) $(BUILD_DIR)/libolm_debug.so.$(MAJOR)
js: $(JS_TARGET) js: $(JS_TARGET)
.PHONY: js .PHONY: js
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment