Changeset 16087


Ignore:
Timestamp:
2009-05-26T16:49:13+02:00 (8 years ago)
Author:
florian
Message:

[package] cleanup ezxml makefile, compile with fpic and install static libraries (#5211)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/libs/ezxml/Makefile

    r15244 r16087  
    11#  
    2 # Copyright (C) 2008 OpenWrt.org 
     2# Copyright (C) 2006-2009 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    1010PKG_NAME:=ezxml 
    1111PKG_VERSION:=0.8.6 
    12 PKG_RELEASE:=1 
     12PKG_RELEASE:=2 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
     
    3636endef 
    3737 
    38 TARGET_CFLAGS += -D_GNU_SOURCE 
     38TARGET_CFLAGS += $(FPIC) -D_GNU_SOURCE 
    3939 
    4040define Build/InstallDev 
     
    4343 
    4444        $(INSTALL_DIR) $(1)/usr/lib 
    45         $(CP) $(PKG_BUILD_DIR)/libezxml.a $(1)/usr/lib/ 
    46  
    47         $(INSTALL_DIR) $(1)/usr/lib 
    48         $(CP) $(PKG_BUILD_DIR)/libezxml.so $(1)/usr/lib/ 
     45        $(CP) $(PKG_BUILD_DIR)/libezxml.{a,so} $(1)/usr/lib/ 
    4946endef 
    5047 
Note: See TracChangeset for help on using the changeset viewer.