diff options
author | Pavel Roskin <proski@gnu.org> | 2009-04-07 21:03:52 (GMT) |
---|---|---|
committer | Thomas Graf <tgr@plip.localdomain> | 2009-04-16 10:28:48 (GMT) |
commit | 1276256a72265145e5d1aae3fa223c94ccc3515d (patch) | |
tree | 5c47a23de39b61ae3647669eedcc8cbd67da70a1 /lib | |
parent | 4f2ff2749bd9a498dc2e65a16f713fd0315d9d41 (diff) | |
download | libnl-1276256a72265145e5d1aae3fa223c94ccc3515d.zip libnl-1276256a72265145e5d1aae3fa223c94ccc3515d.tar.gz libnl-1276256a72265145e5d1aae3fa223c94ccc3515d.tar.bz2 |
Fix parallel build
When linking against libnl, require libnl.so to exist. When linking
against libnl-route, require libnl-route.so to exist.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Makefile b/lib/Makefile index 26c1fea..ce42ed6 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -58,7 +58,7 @@ $(CORE_LIB): $(CORE_LIB).$(PACKAGE_VERSION) @echo " LN $@ -> $<"; \ $(RM) -f $@; $(LN) $< -s $@ -$(ROUTE_LIB).$(PACKAGE_VERSION): $(ROUTE_OBJ) +$(ROUTE_LIB).$(PACKAGE_VERSION): $(ROUTE_OBJ) $(CORE_LIB) @echo " LD $@"; \ $(CC) -shared -Wl,-soname=$@ -o $@ $^ $(LIBNL_LIB) -lnl @@ -66,7 +66,7 @@ $(ROUTE_LIB): $(ROUTE_LIB).$(PACKAGE_VERSION) @echo " LN $@ -> $<"; \ $(RM) -f $@; $(LN) $< -s $@ -$(GENL_LIB).$(PACKAGE_VERSION): $(GENL_OBJ) +$(GENL_LIB).$(PACKAGE_VERSION): $(GENL_OBJ) $(CORE_LIB) @echo " LD $@"; \ $(CC) -shared -Wl,-soname=$@ -o $@ $^ $(LIBNL_LIB) -lnl @@ -74,7 +74,7 @@ $(GENL_LIB): $(GENL_LIB).$(PACKAGE_VERSION) @echo " LN $@ -> $<"; \ $(RM) -f $@; $(LN) $< -s $@ -$(NF_LIB).$(PACKAGE_VERSION): $(NF_OBJ) +$(NF_LIB).$(PACKAGE_VERSION): $(NF_OBJ) $(CORE_LIB) $(ROUTE_LIB) @echo " LD $@"; \ $(CC) -shared -Wl,-soname=$@ -o $@ $^ $(LIBNL_LIB) -lnl -lnl-route |