summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authoramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-16 03:55:53 +0000
committeramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-16 03:55:53 +0000
commit52d4357afb7fcf69e7163b4d2b8dd368c30c6656 (patch)
tree7aad997ca4c5617faefb6e13972829371459565d /Makefile
parentd5fb1ce08e0d2c57b952416ac71d0badef16adc0 (diff)
downloadhercules-52d4357afb7fcf69e7163b4d2b8dd368c30c6656.tar.gz
hercules-52d4357afb7fcf69e7163b4d2b8dd368c30c6656.tar.bz2
hercules-52d4357afb7fcf69e7163b4d2b8dd368c30c6656.tar.xz
hercules-52d4357afb7fcf69e7163b4d2b8dd368c30c6656.zip
update
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@580 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 9317bdcf8..e6b79229e 100644
--- a/Makefile
+++ b/Makefile
@@ -34,10 +34,10 @@ ifeq ($(findstring /,$(MYSQLFLAG_CONFIG)), /)
MYSQLFLAG_VERSION = $(shell $(MYSQLFLAG_CONFIG) --version | sed s:\\..*::)
endif
-ifeq ($(findstring 5,$(MYSQLFLAG_VERSION)), 5)
-MYSQLFLAG_CONFIG_ARGUMENT = --include
-endif
ifeq ($(findstring 4,$(MYSQLFLAG_VERSION)), 4)
+MYSQLFLAG_CONFIG_ARGUMENT = --cflags
+endif
+ifeq ($(findstring 5,$(MYSQLFLAG_VERSION)), 5)
MYSQLFLAG_CONFIG_ARGUMENT = --include
endif
ifndef MYSQLFLAG_CONFIG_ARGUMENT