Ignore:
Timestamp:
2011-06-13T15:16:11+02:00 (5 years ago)
Author:
mirko
Message:

[package/hotplug] link hotplug2 against libbsd when eglibc is used

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/hotplug2/Makefile

    r25920 r27170  
    2929  TITLE:=Version 1.0 Dynamic device management subsystem for embedded systems 
    3030  URL:=http://isteve.bofh.cz/~isteve/hotplug2/ 
     31  DEPENDS:=+USE_EGLIBC:libbsd 
    3132endef 
    3233 
     
    4546        STATIC_WORKER="fork" 
    4647 
     48ifneq ($(CONFIG_USE_EGLIBC),) 
     49  TARGET_LDFLAGS += -lbsd 
     50endif 
     51 
    4752define Build/Compile 
    4853        $(call Build/Compile/Default) 
    49         $(TARGET_CC) $(TARGET_CFLAGS) -o $(PKG_BUILD_DIR)/udevtrigger src/udevtrigger.c 
     54        $(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) -o $(PKG_BUILD_DIR)/udevtrigger src/udevtrigger.c 
    5055endef 
    5156 
Note: See TracChangeset for help on using the changeset viewer.