aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a455917..14531ae 100644
--- a/Makefile
+++ b/Makefile
@@ -32,7 +32,8 @@ DEPENDS := $(DEPENDS_LIB) $(DEPENDS_TEST)
CPPFLAGS += -MMD -MP -I$(INCLUDE_DIR)
CPPFLAGS += -DSQLITEPP_VERSION_MAJOR=$(VERSION_MAJOR) \
-DSQLITEPP_VERSION_MINOR=$(VERSION_MINOR) \
- -DSQLITEPP_VERSION_PATCH=$(VERSION_PATCH)
+ -DSQLITEPP_VERSION_PATCH=$(VERSION_PATCH) \
+ -DSQLITEPP_VERSION=$(VERSION)
CXXFLAGS += -fPIC
LDFLAGS += $(LDFLAGS_SQLITE3)
LDFLAGS_LIB += -Wl,-soname,lib$(TARGET_NAME_LIB).so.$(VERSION_MAJOR)