Skip to content

Commit

Permalink
Fix mythzoneminder on mac part #3
Browse files Browse the repository at this point in the history
Reverse change done in a513779, only do it on the mac.
Not elegant, but I don't understand qmake's behaviour
  • Loading branch information
jyavenard committed Mar 2, 2012
1 parent e34c8d7 commit 2f895cb
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions mythplugins/mythzoneminder/mythzmserver/mythzmserver.pro
Expand Up @@ -10,15 +10,17 @@ 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
MYSQLIBS = "$$system(mysql_config --libs)"
MYSQLIBS ~= s/-arch +[a-z0-9_]+//g
}
LIBS += $$MYSQLIBS
LIBS += $$sptrinf($$MYSQLIBS)
} else {
LIBS += $$system(mysql_config --libs)
}

linux: DEFINES += linux

Expand Down

0 comments on commit 2f895cb

Please sign in to comment.