projects
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a279601
)
[packages] curl: don't fail with empty TARGET_LDFLAGS
author
jow
<jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 18 Jan 2012 03:55:12 +0000
(
03:55
+0000)
committer
jow
<jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 18 Jan 2012 03:55:12 +0000
(
03:55
+0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@29771
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
libs/curl/Makefile
patch
|
blob
|
history
diff --git
a/libs/curl/Makefile
b/libs/curl/Makefile
index
806192d
..
6b3492c
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
- $(
SED) 's#$(TARGET_LDFLAGS)##g' $(1)/usr/lib/pkgconfig/libcurl.pc
+ $(
if $(TARGET_LDFLAGS),$(SED) 's#$(TARGET_LDFLAGS)##g' $(1)/usr/lib/pkgconfig/libcurl.pc)
ln -sf $(STAGING_DIR)/usr/bin/curl-config $(2)/bin/
endef