Changeset 29771


Ignore:
Timestamp:
2012-01-18T04:55:12+01:00 (6 years ago)
Author:
jow
Message:

[packages] curl: don't fail with empty TARGET_LDFLAGS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/libs/curl/Makefile

    r29498 r29771  
    9999        $(CP) $(PKG_BUILD_DIR)/libcurl.pc $(1)/usr/lib/pkgconfig/ 
    100100        $(SED) 's,-L$$$${exec_prefix}/lib,,g' $(1)/usr/bin/curl-config 
    101         $(SED) 's#$(TARGET_LDFLAGS)##g' $(1)/usr/lib/pkgconfig/libcurl.pc 
     101        $(if $(TARGET_LDFLAGS),$(SED) 's#$(TARGET_LDFLAGS)##g' $(1)/usr/lib/pkgconfig/libcurl.pc) 
    102102        ln -sf $(STAGING_DIR)/usr/bin/curl-config $(2)/bin/ 
    103103endef 
Note: See TracChangeset for help on using the changeset viewer.