Changeset 29891


Ignore:
Timestamp:
2012-01-24T17:38:35+01:00 (6 years ago)
Author:
swalker
Message:

[packages] umurmur: fix library linkage (#10664, #10287, thanks martin)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/net/umurmur/Makefile

    r29332 r29891  
    11# 
    2 # Copyright (C) 2009-2011 OpenWrt.org 
     2# Copyright (C) 2009-2012 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    99PKG_NAME:=umurmur 
    1010PKG_VERSION:=0.2.8 
    11 PKG_RELEASE:=1 
     11PKG_RELEASE:=2 
    1212 
    1313PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
     
    8383 
    8484ifeq ($(BUILD_VARIANT),openssl) 
    85   TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include 
    86   TARGET_LDFLAGS += -lcrypto -lssl 
     85  CONFIGURE_ARGS += \ 
     86        --with-ssl=openssl 
    8787endif 
    8888 
    8989ifeq ($(BUILD_VARIANT),polarssl) 
    90   TARGET_CFLAGS += -DUSE_POLARSSL -I$(STAGING_DIR)/usr/include 
    91   TARGET_LDFLAGS += -lpolarssl 
     90  CONFIGURE_ARGS += \ 
     91        --with-ssl=polarssl 
    9292endif 
    9393 
Note: See TracChangeset for help on using the changeset viewer.