summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--include.pro2
1 files changed, 2 insertions, 0 deletions
diff --git a/include.pro b/include.pro
index ffdba16..4815f19 100644
--- a/include.pro
+++ b/include.pro
@@ -101,24 +101,26 @@ ipk.commands = tmp=`mktemp -d /tmp/ipkg-opie.XXXXXXXXXX` && ( $(MAKE) INSTALL_RO
101 101
102QMAKE_EXTRA_UNIX_TARGETS += lupdate lrelease ipk opie-lupdate opie-lrelease messages 102QMAKE_EXTRA_UNIX_TARGETS += lupdate lrelease ipk opie-lupdate opie-lrelease messages
103 103
104CONFTEST = $$system( echo $CONFIG_TARGET_MACOSX ) 104CONFTEST = $$system( echo $CONFIG_TARGET_MACOSX )
105contains( CONFTEST, y ){ 105contains( CONFTEST, y ){
106 QMAKE_LFLAGS += -Wl 106 QMAKE_LFLAGS += -Wl
107 LIBS -= -ldl 107 LIBS -= -ldl
108 LIBS -= -lcrypt 108 LIBS -= -lcrypt
109 LIBS -= -lm 109 LIBS -= -lm
110 110
111 # Manual including indirect referenced libraries which are not loaded 111 # Manual including indirect referenced libraries which are not loaded
112 # by the mac-linker automatically 112 # by the mac-linker automatically
113 # IF YOU COMPILE FOR THE FIRST TIME, COMMENT OUT ONE OF THE FOLLOWING
114 # (regarding whether you activate SQL) and the last one (-lopiecore2)
113 CONFTEST = $$system( echo $CONFIG_SQL_PIM_BACKEND ) 115 CONFTEST = $$system( echo $CONFIG_SQL_PIM_BACKEND )
114 contains( CONFTEST, y ){ 116 contains( CONFTEST, y ){
115 LIBS += -lopiedb2 -lqpe 117 LIBS += -lopiedb2 -lqpe
116 } else { 118 } else {
117 LIBS += -lqpe 119 LIBS += -lqpe
118 } 120 }
119 LIBS += -lopiecore2 121 LIBS += -lopiecore2
120} 122}
121else { 123else {
122 124
123QMAKE_LFLAGS += -Wl,-rpath-link,$$prefix/lib 125QMAKE_LFLAGS += -Wl,-rpath-link,$$prefix/lib
124# I am not sure whether it is a good idea to change the way plugins is build 126# I am not sure whether it is a good idea to change the way plugins is build