Skip to content

Add missing MySQL compiler flags #50

Merged
merged 1 commit into from Nov 8, 2016
Merged

Add missing MySQL compiler flags #50

merged 1 commit into from Nov 8, 2016

Conversation

pmenzel
Copy link
Contributor

@pmenzel pmenzel commented Nov 8, 2016

No description provided.

Building MXQ under Debian Sid/unstable with the package
`libmysqlclient-dev` installed, the build fails with the error below.

```
$ make V=1
[…]
cc -g -Wall -DMXQ_VERSION=\"0.22.3\" -DMXQ_VERSIONFULL=\""MXQ v0.22.3 ("beta") [0.22.3-0-gf868e20]"\" -DMXQ_VERSIONDATE=\"2015\" -DMXQ_VERSIONEXTRA=\"\" -DPREFIX=\"/usr\" -DEPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DBINDIR=\"/usr/bin\" -DLIBDIR=\"/usr/lib\" -DLIBEXECDIR=\"/usr/libexec\" -DDATADIR=\"/usr/share\" -DMANDIR=\"/usr/share/man\" -DSYSCONFDIR=\"/etc\" -DLOCALSTATEDIR=\"/var\"  -o mxqd_control.o -c mxqd_control.c
In file included from mxqd_control.c:7:0:
mxq_job.h:5:19: fatal error: mysql.h: No such file or directory
 #include <mysql.h>
                   ^
compilation terminated.
```

Add the needed C compiler flags to `mxqd_control.o` to fix this.
@donald donald merged commit 2de7aa2 into master Nov 8, 2016
@donald donald deleted the add-mysql-c-flags branch April 28, 2017 07:24
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants