# HG changeset patch
# User Kaitlin Rupert <karupert(a)us.ibm.com>
# Date 1208544564 25200
# Node ID 4be8cc519dc8829c90f7bacc335933442f29d9ec
# Parent 1904e4f08af21f99af698e42da236cf39407c5e2
[RFC] Reorder providers in Mafefile.am.
Currently, the Virt_VSMigrationCapabilities library is not being installed properly.
/usr/bin/ld: cannot find -lVirt_VSMigrationCapabilities^M
collect2: ld returned 1 exit status^M
libtool: install: error: relink `libVirt_SettingsDefineCapabilities.la' with the above
command before installing it
During the install, libtool has to relink libraries once they are in the install location.
Here, libtool attempts relink the library before the dependant libraries are installed.
This change reorders things so that class libraries are listed first in the list and
association libraries are listed at the end. Also, the class libraries are reordered so
that those libraries with dependancies are listed after the libraries they are dependant
on.
Signed-off-by: Kaitlin Rupert <karupert(a)us.ibm.com>
diff -r 1904e4f08af2 -r 4be8cc519dc8 src/Makefile.am
--- a/src/Makefile.am Thu Apr 17 13:37:29 2008 -0700
+++ b/src/Makefile.am Fri Apr 18 11:49:24 2008 -0700
@@ -30,39 +30,41 @@
providerdir = $(PROVIDERDIR)
+# When adding new provider libraries, be sure place it in the list
+# after any dependant libraries.
provider_LTLIBRARIES = libVirt_ComputerSystem.la \
libVirt_Device.la \
+ libVirt_RASD.la \
+ libVirt_HostSystem.la \
+ libVirt_VSSD.la \
+ libVirt_EnabledLogicalElementCapabilities.la \
+ libVirt_DevicePool.la \
+ libVirt_RegisteredProfile.la \
+ libVirt_VSMigrationCapabilities.la \
+ libVirt_VSMigrationSettingData.la \
+ libVirt_VirtualSystemSnapshotServiceCapabilities.la \
libVirt_SystemDevice.la \
libVirt_ComputerSystemIndication.la \
libVirt_ComputerSystemMigrationIndication.la \
- libVirt_RASD.la \
- libVirt_HostSystem.la \
+ libVirt_VirtualSystemManagementCapabilities.la \
+ libVirt_AllocationCapabilities.la \
+ libVirt_ReferencedProfile.la \
+ libVirt_VirtualSystemSnapshotService.la \
libVirt_VirtualSystemManagementService.la \
- libVirt_VirtualSystemManagementCapabilities.la \
- libVirt_EnabledLogicalElementCapabilities.la \
- libVirt_DevicePool.la \
- libVirt_AllocationCapabilities.la \
- libVirt_VSSD.la \
+ libVirt_ResourcePoolConfigurationService.la \
+ libVirt_ResourcePoolConfigurationCapabilities.la \
+ libVirt_VSMigrationService.la \
+ libVirt_SettingsDefineCapabilities.la \
libVirt_HostedDependency.la \
- libVirt_RegisteredProfile.la \
libVirt_ElementConformsToProfile.la \
- libVirt_ReferencedProfile.la \
- libVirt_SettingsDefineCapabilities.la \
libVirt_HostedResourcePool.la \
libVirt_ElementCapabilities.la \
- libVirt_ResourcePoolConfigurationService.la \
- libVirt_ResourcePoolConfigurationCapabilities.la \
libVirt_VSSDComponent.la \
libVirt_SettingsDefineState.la \
libVirt_ResourceAllocationFromPool.la \
libVirt_ElementAllocatedFromPool.la \
libVirt_HostedService.la \
- libVirt_ElementSettingData.la \
- libVirt_VSMigrationCapabilities.la \
- libVirt_VSMigrationSettingData.la \
- libVirt_VirtualSystemSnapshotService.la \
- libVirt_VSMigrationService.la \
- libVirt_VirtualSystemSnapshotServiceCapabilities.la
+ libVirt_ElementSettingData.la
libVirt_ComputerSystem_la_SOURCES = Virt_ComputerSystem.c
libVirt_Device_la_SOURCES = Virt_Device.c