projects
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46e1404
)
[packages] curl: fix syntax error in OpenWrt Makefile
author
jow
<jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 18 Jan 2012 14:48:57 +0000
(14:48 +0000)
committer
jow
<jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 18 Jan 2012 14:48:57 +0000
(14:48 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@29775
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
libs/curl/Makefile
patch
|
blob
|
history
diff --git
a/libs/curl/Makefile
b/libs/curl/Makefile
index
6b3492c
..
b7e99c0
100644
(file)
--- a/
libs/curl/Makefile
+++ b/
libs/curl/Makefile
@@
-98,7
+98,7
@@
define Build/InstallDev
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libcurl.{a,so*} $(1)/usr/lib/
$(CP) $(PKG_BUILD_DIR)/libcurl.pc $(1)/usr/lib/pkgconfig/
$(SED) 's,-L$$$${exec_prefix}/lib,,g' $(1)/usr/bin/curl-config
- $(if $(TARGET_LDFLAGS),$(SED) 's#$(TARGET_LDFLAGS)##g' $(1)/usr/lib/pkgconfig/libcurl.pc)
+ [ -n "$(TARGET_LDFLAGS)" ] && $(SED) 's#$(TARGET_LDFLAGS)##g' $(1)/usr/lib/pkgconfig/libcurl.pc || true
ln -sf $(STAGING_DIR)/usr/bin/curl-config $(2)/bin/
endef