Update autotools for new DSO linkage style

Fix FTBFS
pull/1/head
Slávek Banko 11 years ago
parent 301c1da0c7
commit 40d6261f7d

@ -10,7 +10,7 @@ SUBDIRS = backends importers widgets dialogs exporters datablocks tests
INCLUDES = -I$(srcdir) -I$(srcdir)/backends -I$(srcdir)/backends/SQLite $(all_includes)
# the library search path.
krecipes_LDFLAGS = $(KDE_RPATH) $(all_libraries)
krecipes_LDFLAGS = $(KDE_RPATH) $(LIB_KPARTS) $(LIB_KDECORE) $(LIB_KDEUI) $(LIB_KIO) -lkdefx -lDCOP $(LIB_QT) $(all_libraries)
# Check for optional libs

@ -551,12 +551,12 @@ void IngredientsDialog::reloadWeightList( void )
QListViewItem * lastElement = weightsListView->listView() ->lastItem();
Weight w = *weight_it;
WeightListItem *weight_it = new WeightListItem( weightsListView->listView(), lastElement, w );
weight_it->setAmountUnit( w.perAmount,
WeightListItem *weight_it1 = new WeightListItem( weightsListView->listView(), lastElement, w );
weight_it1->setAmountUnit( w.perAmount,
database->unitName(w.perAmountUnitID),
Element((w.prepMethodID==-1)?QString::null:database->prepMethodName(w.prepMethodID),w.prepMethodID)
);
weight_it->setWeightUnit( w.weight, database->unitName(w.weightUnitID) );
weight_it1->setWeightUnit( w.weight, database->unitName(w.weightUnitID) );
}
}
}

Loading…
Cancel
Save