Make sure we always append mysql_cofnfig cflags & ldflags
This commit is contained in:
4
Makefile
4
Makefile
@@ -9,8 +9,8 @@ CFLAGS ?= -O2 \
|
||||
LDFLAGS ?= -lcrypto -lssl \
|
||||
-lpthread \
|
||||
-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now
|
||||
CFLAGS += $(shell mysql_config --cflags)
|
||||
LDFLAGS += $(shell mysql_config --libs)
|
||||
override CFLAGS += $(shell mysql_config --cflags)
|
||||
override LDFLAGS += $(shell mysql_config --libs)
|
||||
|
||||
# Use this to store compile flags and debug info.
|
||||
# You may simply check the flags later with:
|
||||
|
||||
Reference in New Issue
Block a user