fix build error
[platform/core/system/edge-orchestration.git] / libedge-orchestration / Makefile
index b29b4d9..a3b0a2f 100644 (file)
@@ -8,7 +8,6 @@ LIB_DIR                 := lib
 SRC_DIR                        := src
 SAMPLE_DIR             := sample
 LIBRARY_FILE   := liborchestration-client.so
-LIBRARY_VERSION        := 0.1.0
 SRC_FILES              := \
                        $(SRC_DIR)/orchestration_client.c \
                        $(SRC_DIR)/dbus_consumer.c
@@ -30,8 +29,7 @@ build-sample: build
 build:
        mkdir -p $(LIB_DIR)
        $(CC) -fPIC -Wall -c -I $(INC_DIR) `pkg-config --libs --cflags gio-2.0 gio-unix-2.0 glib-2.0` $(SRC_FILES)
-       $(CC) -shared -g -Wall -Werror $(OBJ_FILES) -o $(LIB_DIR)/$(LIBRARY_FILE).$(LIBRARY_VERSION) -I $(INC_DIR)
-       ln -sf $(LIBRARY_FILE).$(LIBRARY_VERSION) $(LIB_DIR)/$(LIBRARY_FILE)
+       $(CC) -shared -g -Wall -Werror $(OBJ_FILES) -o $(LIB_DIR)/$(LIBRARY_FILE) -I $(INC_DIR)
        -rm -f $(OBJ_FILES)
 
 clean: