summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRyan Schmidt <ryandesign@macports.org>2018-04-18 09:50:15 -0500
committerAlex Arslan <ararslan@comcast.net>2018-04-18 07:50:15 -0700
commit6a20831a07486dff584ff77f315336d110202bbe (patch)
treed6d323fefca77ab5706c9d192aaf6c55a1595dda /Makefile
parent3a10df60133644b23d6e73196afdf15f41958da6 (diff)
downloadlibutf8proc-6a20831a07486dff584ff77f315336d110202bbe.tar.gz
libutf8proc-6a20831a07486dff584ff77f315336d110202bbe.tar.bz2
Use LDFLAGS when building libutf8proc.dylib (#125)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e6459c3..b3bb570 100644
--- a/Makefile
+++ b/Makefile
@@ -81,7 +81,7 @@ libutf8proc.so: libutf8proc.so.$(MAJOR).$(MINOR).$(PATCH)
ln -f -s libutf8proc.so.$(MAJOR).$(MINOR).$(PATCH) $@.$(MAJOR)
libutf8proc.$(MAJOR).dylib: utf8proc.o
- $(CC) -dynamiclib -o $@ $^ -install_name $(libdir)/$@ -Wl,-compatibility_version -Wl,$(MAJOR) -Wl,-current_version -Wl,$(MAJOR).$(MINOR).$(PATCH)
+ $(CC) $(LDFLAGS) -dynamiclib -o $@ $^ -install_name $(libdir)/$@ -Wl,-compatibility_version -Wl,$(MAJOR) -Wl,-current_version -Wl,$(MAJOR).$(MINOR).$(PATCH)
libutf8proc.dylib: libutf8proc.$(MAJOR).dylib
ln -f -s libutf8proc.$(MAJOR).dylib $@