summaryrefslogtreecommitdiff
path: root/package/openwrt/wlc
diff options
context:
space:
mode:
Diffstat (limited to 'package/openwrt/wlc')
-rw-r--r--package/openwrt/wlc/Makefile14
1 files changed, 2 insertions, 12 deletions
diff --git a/package/openwrt/wlc/Makefile b/package/openwrt/wlc/Makefile
index 378f187075..8a1e970d97 100644
--- a/package/openwrt/wlc/Makefile
+++ b/package/openwrt/wlc/Makefile
@@ -1,15 +1,5 @@
-#
-# Linux router shared code Makefile
-#
-# Copyright 2001-2003, Broadcom Corporation
-# All Rights Reserved.
-#
-# THIS SOFTWARE IS OFFERED "AS IS", AND BROADCOM GRANTS NO WARRANTIES OF ANY
-# KIND, EXPRESS OR IMPLIED, BY STATUTE, COMMUNICATION OR OTHERWISE. BROADCOM
-# SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS
-# FOR A SPECIFIC PURPOSE OR NONINFRINGEMENT CONCERNING THIS SOFTWARE.
-#
# $Id$
+
include $(TOPDIR)/rules.mk
PKG_NAME:=wlc
@@ -33,7 +23,7 @@ $(PKG_BUILD_DIR):
mkdir -p $(PKG_BUILD_DIR)
$(PKG_BUILD_DIR)/wlc: $(WLC_OBJS)
- $(TARGET_CC) -o $@ $^ -lshared
+ $(TARGET_CC) -o $@ $^ -L$(BUILD_DIR)/libshared -lshared
$(TARGET_DIR)/usr/sbin/wlc: $(PKG_BUILD_DIR)/wlc
install -m 755 $^ $@