memcached: fixes compile when libevent and libevent2 are both staged
authorJohn Crispin <[email protected]>
Sat, 4 Aug 2012 20:37:08 +0000 (20:37 +0000)
committerJohn Crispin <[email protected]>
Sat, 4 Aug 2012 20:37:08 +0000 (20:37 +0000)
SVN-Revision: 32994

net/memcached/Makefile

index 5b38379aa1b8d418bd8faed1cccb3bc39281f089..8d7cff9b3ede6da2fb89745d3542088830a3d07c 100644 (file)
@@ -53,8 +53,8 @@ CONFIGURE_ARGS += \
 TARGET_CFLAGS += \
        -std=gnu99
 
-TARGET_LDFLAGS += \
-       -L$(STAGING_DIR)/usr/lib/libevent
+TARGET_LDFLAGS = \
+       -L$(STAGING_DIR)/usr/lib/libevent -L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib
 
 define Package/memcached/install
        $(INSTALL_DIR) $(1)/usr/bin