Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

Commit

Permalink
Added soname flags to linker stage of Makefile.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashley Jeffs committed Apr 24, 2014
1 parent c503c64 commit 68ec225
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -58,7 +58,7 @@ ALL_TEST_OBJECTS := $(patsubst %.cc, ./internal/%.o, cld2_unittest_full.cc \
all: $(ALL_OBJECTS)
@echo Building library...
@mkdir -p $(BUILD_PATH)
$(LD) $(LD_FLAGS) -shared -o $(LIBRARY_PATH) $(ALL_OBJECTS)
$(LD) $(LD_FLAGS) -shared -rdynamic -Wl,-soname -Wl,$(LIBRARY).$(VERSION_MAJOR) -o $(LIBRARY_PATH) $(ALL_OBJECTS)

check: $(ALL_TEST_OBJECTS)
@echo Building tests...
Expand Down

0 comments on commit 68ec225

Please sign in to comment.