Changeset 29775


Ignore:
Timestamp:
2012-01-18T15:48:57+01:00 (6 years ago)
Author:
jow
Message:

[packages] curl: fix syntax error in OpenWrt Makefile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/libs/curl/Makefile

    r29771 r29775  
    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         $(if $(TARGET_LDFLAGS),$(SED) 's#$(TARGET_LDFLAGS)##g' $(1)/usr/lib/pkgconfig/libcurl.pc) 
     101        [ -n "$(TARGET_LDFLAGS)" ] && $(SED) 's#$(TARGET_LDFLAGS)##g' $(1)/usr/lib/pkgconfig/libcurl.pc || true 
    102102        ln -sf $(STAGING_DIR)/usr/bin/curl-config $(2)/bin/ 
    103103endef 
Note: See TracChangeset for help on using the changeset viewer.