fix libtool compile
authorFelix Fietkau <nbd@openwrt.org>
Fri, 2 Jan 2009 01:47:13 +0000 (01:47 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 2 Jan 2009 01:47:13 +0000 (01:47 +0000)
SVN-Revision: 13807

utils/owfs/Makefile

index bfba14180bbe75bb856cecaee3baab7e75641967..87e4096361a28ac7d8e5b2a828a77304f4855359 100644 (file)
@@ -14,6 +14,8 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@SF/$(PKG_NAME)
 PKG_MD5SUM:=4c189f64a1a6110bef19639a36c3b0e1
 
+PKG_FIXUP = libtool
+
 include $(INCLUDE_DIR)/package.mk
 
 
@@ -140,7 +142,7 @@ define Build/Configure
                $(TARGET_CONFIGURE_OPTS) \
                CFLAGS="$(TARGET_CFLAGS) $(CFLAGS_LARGEFILE)" \
                CPPFLAGS="-I$(STAGING_DIR)/usr/include" \
-               LDFLAGS="-L$(STAGING_DIR)/usr/lib" \
+               LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(TOOLCHAIN_DIR)/lib" \
                lt_sys_lib_dlsearch_path_spec="$(STAGING_DIR)/lib $(STAGING_DIR)/usr/lib" \
                lt_sys_lib_search_path_spec="$(STAGING_DIR)/lib $(STAGING_DIR)/usr/lib" \
                shrext_cmds=".so" \