[Merkaartor] DSO Link changes in Ubuntu Natty
Bernd Zeimetz
bernd at bzed.de
Sun Feb 27 17:48:07 GMT 2011
On 02/24/2011 10:54 PM, MarcusLS wrote:
> Hi,
>
> in upcoming Ubuntu Natty the Linker will be adopt from Debian:
> http://wiki.debian.org/ToolChain/DSOLinking#DSOLinkingChangesforwheezy
>
> So it needs a extra -lsqlite3 in src/src.pro for correct linkig.
>
I'd suggest something like the patch provided below.
--
Bernd Zeimetz Debian GNU/Linux Developer
http://bzed.de http://www.debian.org
GPG Fingerprint: ECA1 E3F2 8E11 2432 D485 DD95 EB36 171A 6FF9 435F
--- a/src/src.pro
+++ b/src/src.pro
@@ -189,6 +189,15 @@
win32 {
}
}
+
+unix {
+ CONFIG += link_pkgconfig
+ PKGCONFIG += sqlite3
+}
+win32 {
+ LIBS += -lsqlite3
+}
+
DEFINES += SHARE_DIR=$${SHARE_DIR}
INSTALLS += target
More information about the Merkaartor
mailing list