Changeset 13976


Ignore:
Timestamp:
2009-01-11T05:37:43+01:00 (9 years ago)
Author:
nico
Message:

fix libnetfilter-queue: libtool linking libnetfilter-libipq with the host libc, cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/libs/libnetfilter-queue/Makefile

    r13844 r13976  
    11# 
    2 # Copyright (C) 2007-2008 OpenWrt.org 
     2# Copyright (C) 2007-2009 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    3838        --enable-static \ 
    3939        --enable-shared \ 
     40 
     41CONFIGURE_VARS += \ 
    4042        LIBNFNETLINK_CFLAGS="-I$(STAGING_DIR)/usr/include" \ 
    4143        LIBNFNETLINK_LIBS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" 
    4244 
    4345define Build/Compile 
    44         $(MAKE) -C $(PKG_BUILD_DIR) \ 
    45                 CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" \ 
    46                 LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib -lc -L$(TOOLCHAIN_DIR)/lib" \ 
    47                 DESTDIR="$(PKG_INSTALL_DIR)" \ 
    48                 all install 
     46        $(MAKE) -C $(PKG_BUILD_DIR) all 
     47        $(call libtool_fixup_libdir) 
     48        $(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_INSTALL_DIR)" install 
    4949endef 
    5050 
     
    6969define Package/libnetfilter-queue/install 
    7070        $(INSTALL_DIR) $(1)/usr/lib 
    71         $(CP) $(PKG_INSTALL_DIR)/usr/lib/libnetfilter_queue*.so* $(1)/usr/lib/ 
     71        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libnetfilter_queue*.so.* $(1)/usr/lib/ 
    7272endef 
    7373 
Note: See TracChangeset for help on using the changeset viewer.