Skip to content

Commit

Permalink
Fix MythZoneMinder part #2
Browse files Browse the repository at this point in the history
6bfda0c actually broke compilation using the old osx-packager.pl build script.
Alternatively, I find that mythzoneminder now compiles on my linux PC, when it never did before.
  • Loading branch information
jyavenard committed Mar 2, 2012
1 parent 700a58d commit a513779
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions mythplugins/mythzoneminder/mythzmserver/mythzmserver.pro
Expand Up @@ -10,16 +10,15 @@ target.path = $${PREFIX}/bin

INSTALLS = target

MYSQLIBS = "$$system(mysql_config --libs)"
macx {
CONFIG += qt
QT += sql
#Can't use mysql_config output, as it could have been compiled with
# universal support, and we may want just 32 or 64 bits
LIBS += -lmysqlclient
}
else {
LIBS += $$system(mysql_config --libs)
MYSQLIBS ~= s/-arch +[a-z0-9_]+//g
}
LIBS += $$MYSQLIBS

linux: DEFINES += linux

Expand Down

0 comments on commit a513779

Please sign in to comment.